Ad

caden
asked Aug 19 2019
Answer
To change the timestamp of a directory on centos 7.6,try running this command.
touch -a -m -t YYYYMMDDHHMM.SS `Filename-or-Directory-name`
YearMonthDateHoursMinutes.Seconds is the timestamp format.

linuxhelp
asked Aug 19 2019
edited Aug 19 2019
How to Change the TimeStamp of a Directory On CentOS 7.6
Hello,I just want to know the command to change the timestamp of a directory on centos 7.6?which is prominent for testing purpose