Re: plug] Backdating a file

Página superior
Adjuntos:
Obtener este mensaje como un correo
+ (text/plain)
Eliminar este mensaje
Responder a este mensaje
Autor: R P Herrold
Fecha:  
A: plug-discuss
Temas antiguos: Backdating a file
Asunto: 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