Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: change file creation date (Strange)

RE: change file creation date (Strange)

From: <Jared.Still_at_radisys.com>
Date: Thu, 08 Aug 2002 14:04:49 -0800
Message-ID: <F001.004AFE6A.20020808140449@fatcity.com>


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: 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).



-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: Jared.Still_at_radisys.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 Thu Aug 08 2002 - 17:04:49 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US