How to set older file dates?

Michael Havens bmike1 at gmail.com
Sat Mar 7 13:17:09 MST 2015


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

I read that it was fixed with 64 bit computing.

:-)~MIKE~(-:

On Sat, Mar 7, 2015 at 1:09 PM, Brian Cluff <brian at snaptek.com> wrote:

> 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, joe at actionline.com 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 - PLUG-discuss at lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20150307/7e12f389/attachment.html>


More information about the PLUG-discuss mailing list