Re: How to set older file dates? correction

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: JD Austin
Date:  
To: Main PLUG discussion list
Subject: Re: How to set older file dates? correction
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)



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

> doesn't that have to do with the millineum bug?
>
> :-)~MIKE~(-:
>
> On Sat, Mar 7, 2015 at 12:19 PM, <> 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 -
>> 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
>

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