RE: find on unix
Title: Message assume you want to find files created more than 3 days ago. find /my_dir -mtime +3 -print Allan -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:39 AMTo: Multiple recipients of list ORACLE-LSubject: find on unix How to use "find" command on unix to find files older then (created ) a particular date . Any idea -ak __ This email is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Copying, forwarding or distributing this message by persons or entities other than the addressee is prohibited. If you have received this email in error, please contact the sender immediately and delete the material from any computer. This email may have been monitored for policy compliance. [021216]
RE: find on unix
finddirectory -print -mtime +60 (files older than 60 days) -Original Message-From: AK [mailto:[EMAIL PROTECTED]Sent: Tuesday, March 25, 2003 10:39 AMTo: Multiple recipients of list ORACLE-LSubject: find on unix How to use "find" command on unix to find files older then (created ) a particular date . Any idea -ak
Re: find on unix
man find from the command line. Unix for Oracle DBA's O'Reilly publishing. Unix system users manual. Ask the sysadmin- Bribe with hardware!. Ron [EMAIL PROTECTED] 03/25/03 11:39AM How to use find command on unix to find files older then (created ) a particular date . Any idea -ak -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Ron Rogers INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
RE: find on unix
Ignore that.. It will find newer files, not older files.. I misread the question. Sorry.. - Kirti -Original Message-From: Deshpande, Kirti Sent: Tuesday, March 25, 2003 1:39 PMTo: '[EMAIL PROTECTED]'Cc: '[EMAIL PROTECTED]'Subject: RE: find on unix Create a 'flag' filewiththe 'particular'date as its last modified date: touch -t 200303201330.40 oldfile The timestamp is of the format:MMDDHHMM.SS Then use find command to find files newer (later) than oldfile. find . -newer oldfile -print HTH, - Kirti -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Tuesday, March 25, 2003 10:39 AMTo: Multiple recipients of list ORACLE-LSubject: find on unix How to use "find" command on unix to find files older then (created ) a particular date . Any idea -ak
RE: find on unix
Changing 'find' to following would work: find . ! -newer oldfile -print - Kirti -Original Message-From: Deshpande, Kirti Sent: Tuesday, March 25, 2003 1:50 PMTo: '[EMAIL PROTECTED]'Cc: '[EMAIL PROTECTED]'Subject: RE: find on unix Ignore that.. It will find newer files, not older files.. I misread the question. Sorry.. - Kirti -Original Message-From: Deshpande, Kirti Sent: Tuesday, March 25, 2003 1:39 PMTo: '[EMAIL PROTECTED]'Cc: '[EMAIL PROTECTED]'Subject: RE: find on unix Create a 'flag' filewiththe 'particular'date as its last modified date: touch -t 200303201330.40 oldfile The timestamp is of the format:MMDDHHMM.SS Then use find command to find files newer (later) than oldfile. find . -newer oldfile -print HTH, - Kirti -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Tuesday, March 25, 2003 10:39 AMTo: Multiple recipients of list ORACLE-LSubject: find on unix How to use "find" command on unix to find files older then (created ) a particular date . Any idea -ak
RE: find on unix
Create a 'flag' filewiththe 'particular'date as its last modified date: touch -t 200303201330.40 oldfile The timestamp is of the format:MMDDHHMM.SS Then use find command to find files newer (later) than oldfile. find . -newer oldfile -print HTH, - Kirti -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Tuesday, March 25, 2003 10:39 AMTo: Multiple recipients of list ORACLE-LSubject: find on unix How to use "find" command on unix to find files older then (created ) a particular date . Any idea -ak
RE: find on unix
alias RTFM="man" RTFM find. -Original Message-From: AK [mailto:[EMAIL PROTECTED]Sent: Tuesday, March 25, 2003 11:39 AMTo: Multiple recipients of list ORACLE-LSubject: find on unix How to use "find" command on unix to find files older then (created ) a particular date . Any idea -ak
Re: find on unix
Thanks everybody . -ak - Original Message - From: Deshpande, Kirti To: Multiple recipients of list ORACLE-L Sent: Tuesday, March 25, 2003 11:59 AM Subject: RE: find on unix Changing 'find' to following would work: find . ! -newer oldfile -print - Kirti -Original Message-From: Deshpande, Kirti Sent: Tuesday, March 25, 2003 1:50 PMTo: '[EMAIL PROTECTED]'Cc: '[EMAIL PROTECTED]'Subject: RE: find on unix Ignore that.. It will find newer files, not older files.. I misread the question. Sorry.. - Kirti -Original Message-From: Deshpande, Kirti Sent: Tuesday, March 25, 2003 1:39 PMTo: '[EMAIL PROTECTED]'Cc: '[EMAIL PROTECTED]'Subject: RE: find on unix Create a 'flag' filewiththe 'particular'date as its last modified date: touch -t 200303201330.40 oldfile The timestamp is of the format:MMDDHHMM.SS Then use find command to find files newer (later) than oldfile. find . -newer oldfile -print HTH, - Kirti -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Tuesday, March 25, 2003 10:39 AMTo: Multiple recipients of list ORACLE-LSubject: find on unix How to use "find" command on unix to find files older then (created ) a particular date . Any idea -ak
RE: find on unix
but find . ! -newer ... will find the older ones -Original Message- Sent: Wednesday, 26 March 2003 3:50 am To: Multiple recipients of list ORACLE-L Ignore that.. It will find newer files, not older files.. I misread the question. Sorry.. - Kirti -Original Message- Sent: Tuesday, March 25, 2003 1:39 PM To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Create a 'flag' file with the 'particular' date as its last modified date: touch -t 200303201330.40 oldfile The timestamp is of the format: MMDDHHMM.SS Then use find command to find files newer (later) than oldfile. find . -newer oldfile -print HTH, - Kirti -Original Message- Sent: Tuesday, March 25, 2003 10:39 AM To: Multiple recipients of list ORACLE-L How to use find command on unix to find files older then (created ) a particular date . Any idea -ak -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).