The "-mtime" functionality of find is known to have issues. i.e. it's broke.
Jared "Sinardy Xing" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 08/07/2002 09:31 PM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> cc: Subject: RE: change file creation date (Strange) Hi all, I have files that created yesterday then I move those files to other directory the "date is still remain the same" (when I do "ls -l" is 7 Aug) but those files didnt match my "find ./ -mtime 1 -print" those files listed in "find ./ -mtime 0 -print" and then I advance the date to 9 Aug (8 Aug now) and now those files match my "find ./ -mtime 1 -print" why the unix consider "mv" as modification ? Sinardy -----Original Message----- Sent: 08 August 2002 12:04 To: Multiple recipients of list ORACLE-L Hi, There's 'touch' command that'll do what you want. man touch HTH Ross > -----Original Message----- > From: Sinardy Xing [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 8 August 2002 13:29 > To: Multiple recipients of list ORACLE-L > Subject: change file creation date > > > Hi guys, > > I'm doing some testing > > how to change a file creation (last mofilied) date > > > -rw-rw-rw 1 oracle dba 8 Aug 8 10:11 > myfile_test_case_11_701.txt > > > > I want change the date to yesterday 7 Aug > > By the way I am using Sun > > > Thanks > > Sinardy > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.com > -- > Author: Sinardy Xing > INET: [EMAIL PROTECTED] > > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 > San Diego, California -- Public Internet access / Mailing Lists > -------------------------------------------------------------------- > 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). > -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Ross Collado INET: [EMAIL PROTECTED] Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- 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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Sinardy Xing INET: [EMAIL PROTECTED] Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- 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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: [EMAIL PROTECTED] Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- 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).