Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> 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:SinardyXing_at_bkgcomsvc.com]
> 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: SinardyXing_at_bkgcomsvc.com
>
> 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: ListGuru_at_fatcity.com (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: Ross.Collado_at_techpac.com 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: ListGuru_at_fatcity.com (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: SinardyXing_at_bkgcomsvc.com 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: ListGuru_at_fatcity.com (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).Received on Wed Aug 07 2002 - 23:31:46 CDT
![]() |
![]() |