To change the date on all files in a folder to 19th February 2009 at 18:00 using the linux command touch
# touch * -t "200902191800"
It’s a nice way to correct file dates.
Replace * with the actual file name if you don’t want to correct all files in the current folder.
Tags: touch
Posted by Hans-Henry Jakobsen
touch -c -t 0304050607 file
Tags: touch
Posted by Hans-Henry Jakobsen