[KLUG Members] find a file by date
Michael Lueck
mlueck at lueckdatasystems.com
Wed Dec 8 13:08:04 EST 2004
On 08 Dec 2004 12:06:48 -0500, John Pesce wrote:
>how can I print a list of files, under a tree, with full path that have
>the same date as a particular file, when I do ls -l ?
Just add the Object Rexx language to your box and you can run this from the
command line.
http://www-306.ibm.com/software/awdtools/obj-rexx/
rexx rexxtry "rc=sysfiletree('*', f., 's'); do i=1 to f.0; if word(f.1,
1)='12/08/04' then say f.i; end;"
where you replace the '*' with the filespec you wish to search, and the date
string in the if statement with the date you are looking for.
Michael Lueck
Electronic Software Distribution Engineer
Executive of Integration, Engineering, and Innovation Officer (EIEIO)
Lueck Data Systems
http://www.lueckdatasystems.com/
More information about the Members
mailing list