Re: plug] Backdating a file

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: R P Herrold
Dátum:  
Címzett: plug-discuss
Régi témák: Backdating a file
Tárgy: 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