Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: change file creation date (Strange)
Oops, my bad. It's the -ctime argument thats broke.
Jared
On Thursday 08 August 2002 15:04, Jared.Still_at_radisys.com wrote:
> The "-mtime" functionality of find is known to have issues.
>
> i.e. it's broke.
>
> Jared
>
>
>
>
>
> "Sinardy Xing" <SinardyXing_at_bkgcomsvc.com>
> Sent by: root_at_fatcity.com
> 08/07/2002 09:31 PM
> Please respond to ORACLE-L
>
>
> To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
> 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: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: Jared Still INET: jkstill_at_cybcon.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 Fri Aug 09 2002 - 01:03:20 CDT
![]() |
![]() |