How to set older file dates? correction

JD Austin jd at twingeckos.com
Sat Mar 7 14:40:40 MST 2015


Dates are set from epoch time.. 0 is Jan 1, 1970 00:00:00 GMT
You can play with it using the date command:
date -d @0 +"%d-%m-%Y %T %z"

-- JD Austin
Voice: 480.269.4335 (480 2MY Geek)
jd at twingeckos.com


On Sat, Mar 7, 2015 at 12:34 PM, Michael Havens <bmike1 at gmail.com> wrote:

> doesn't that have to do with the millineum bug?
>
> :-)~MIKE~(-:
>
> On Sat, Mar 7, 2015 at 12:19 PM, <joe at actionline.com> wrote:
>
>>
>> Correction ... I found that I was able to set dates
>> as far back as 1969, but not earlier.
>>
>>
>> > 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/3a5a41bd/attachment.html>


More information about the PLUG-discuss mailing list