coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: touch: is 00hh timestamp invalid?


From: Rafael Xavier
Subject: Re: touch: is 00hh timestamp invalid?
Date: Wed, 14 Nov 2012 11:48:32 -0200

The interesting thing is that the below "workaround" works:

$ touch -t 10212359.60 'photo.jpg'

$ ls -l 'photo.jpg'
-rw-r--r-- 1 xavier xavier 146604 2012-10-22 00:00 photo.jpg

holy cow

On Wed, Nov 14, 2012 at 11:43 AM, Rafael Xavier <address@hidden> wrote:
Hello all,

Am I missing something? But, I am unable to set the timestamp of a file to 00h.

$ touch -t 10202359 'photo.jpg'
# works

$ touch -t 10210000 'photo.jpg'
touch: invalid date format `10210000'

$ touch --version
touch (GNU coreutils) 8.5

Thanks in advance for any help.

--
+55 (16) 8138-1583, skype: rxaviers
http://rafael.xavier.blog.br



--
+55 (16) 8138-1583, skype: rxaviers
http://rafael.xavier.blog.br

reply via email to

[Prev in Thread] Current Thread [Next in Thread]