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 <[email protected]> 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.
>
> --
> <http://www.rafael.xavier.blog.br/>+55 (16) 8138-1583, skype: rxaviers
> http://rafael.xavier.blog.br
>



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

Reply via email to