Re: plug] Backdating a file

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: R P Herrold
Dato:  
Til: plug-discuss
Gamle-emner: Backdating a file
Emne: Re: plug] Backdating a file
On Tue, 16 Nov 2004, AZ Pete wrote:

> Is there a way to set the modified date for a file to some point in the past?
>
> This needs to be done on a production box, so I can't simply set the system
> clock back, touch the file, and reset the clock again.


man touch is your friend

something like:

    touch -n -t [[CC]YY]MMDDhhmm[.ss] /path/to/target/file


will work.

-- Russ Herrold
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss