Re: How to set older file dates?

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: Brian Cluff
Dátum:  
Címzett: Main PLUG discussion list
Tárgy: Re: How to set older file dates?
You need to specify the century part of the year as well, otherwise
touch assumes you mean the current century.

Double digit dates from this century will become the y2.1k problem some
day :)

Try:
touch -t 196709131010 filename

Brian Cluff

On 03/07/2015 11:59 AM, wrote:
> How can I set the date on some old files from
> the 60's, 70's, and 80's?
> When I use touch -t 6709131010 filename
> for the date September 13, 1967, the date
> shows up as September 13, 2067.
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss