Hi,
Can someone please help me with this.
Actually i want to move files from one directory to another directory , But I just want to move files of a specific data range.
For ex:
This is my directory which contains all fine.
/home/Rooh
Then there is a long listing of files.
suppose this... (3 Replies)
hi all,
I'm trying to do a cp only on files I created on a given day or within a certain date range.
What's the best way to do this?
Cheers,
KL (1 Reply)
Hi,
I am new to Unix and was trying different ways of how to display the list of file names modified between a given date range in sorting order.I will get the fromdate and Todate from the browser, I need to display the list of all the file names that are modified between the given date... (1 Reply)
When I do a ls -lt I get a list of files by date modified from newest to oldest. I would like to be able to copy some files to another directory using a date last modified range (i.e. Apr 30 - May 13) How could I do this?
Thanks,
Joe (4 Replies)
Hi people
A newbie here, thrown into the deep end. I want to select the group of files with in a range of dates and perform some operation on it. Are there inbuild date libraries i can use?
I did read thru the old posts on this topic. Couldnt get much idea :(, basically want to know how I... (7 Replies)
Hi,
we have file name appended by date in yymmdd format .. ex: abc090101.dat
I need to copy all the files between abc090101 to abc090331..
could you plz help me..
Thanks. (1 Reply)
Hi all,
I am using the below script which display the files in the folder with the date range we specify. I want to add extra functionality that,
The listing files should be zipped using gzip. I tried to add exec gzip at the last line but it is not working.
Suggestions please.
... (2 Replies)
Hi,
I want to remove trace files in a particular directory for a specific date range. Currently i can remove based on time (e.g find /path/*.trm -mtime +1000 -exec rm {} \;). But i want to remove .trm files within a date range. E.g to remove .trm files between jan 1 2002 to April 15 2005.
... (3 Replies)
Dear Friends,
I have HP_ux 11.31 and want to delete some unwanted very old log files between two date range.
Please help in the matter.
Regards,
Bhagawati Pandey (6 Replies)
My unix version is IBM AIX Version 6.1
I tried google my requirement and found the below answer,
find . -newermt “2012-06-15 08:13" ! -newermt “2012-06-15 18:20"
But newer command is not working in AIX version 6.1 unix
I have given my requirement below:
Input:
atr files:
... (1 Reply)
Discussion started by: yuvaa27
1 Replies
LEARN ABOUT DEBIAN
explain_stime_or_die
explain_stime_or_die(3) Library Functions Manual explain_stime_or_die(3)NAME
explain_stime_or_die - set system time and report errors
SYNOPSIS
#include <libexplain/stime.h>
void explain_stime_or_die(time_t *t);
int explain_stime_on_error(time_t *t);
DESCRIPTION
The explain_stime_or_die function is used to call the stime(2) system call. On failure an explanation will be printed to stderr, obtained
from the explain_stime(3) function, and then the process terminates by calling exit(EXIT_FAILURE).
The explain_stime_on_error function is used to call the stime(2) system call. On failure an explanation will be printed to stderr, obtained
from the explain_stime(3) function, but still returns to the caller.
t The t, exactly as to be passed to the stime(2) system call.
RETURN VALUE
The explain_stime_or_die function only returns on success, see stime(2) for more information. On failure, prints an explanation and exits,
it does not return.
The explain_stime_on_error function always returns the value return by the wrapped stime(2) system call.
EXAMPLE
The explain_stime_or_die function is intended to be used in a fashion similar to the following example:
explain_stime_or_die(t);
SEE ALSO stime(2)
set system time
explain_stime(3)
explain stime(2) errors
exit(2) terminate the calling process
COPYRIGHT
libexplain version 0.52
Copyright (C) 2009 Peter Miller
explain_stime_or_die(3)