Re: How to set older file dates?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Brian Cluff
Date:  
To: Main PLUG discussion list
Subject: 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