Set file timestamps from the Linux command line

By | November 14, 2008

Creating a file with a different timestamp could be required in your distant future. However, when and if you are required to make one, you can do it with

touch -c -t 0811141443 filename

Let’s break down the numbers:

0811141443 = YYMMDDHHMM = 2008, November the 14th, 14:43

Leave a Reply

Your email address will not be published. Required fields are marked *