13
rated 0 times
[
13]
[
0]
/ answers: 1 / hits: 16492
/ 2 Years ago, sat, september 17, 2022, 8:34:09
While reading about Linux I got the following:
touch provides several options, but here is one of interest:
The -t option allows you to set the date and time stamp of the file.
To set the time stamp to a specific time:
$ touch -t 03201600 myfile
This sets the file, myfile's, time stamp to 4 p.m., March 20th (03 20 1600).
Here, I am not getting the logic behind 03201600 --> 4pm, March 20th.
More From » timestamp