1

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

CentOS timestamp Add a comment
caden
asked Aug 19 2019

Answer

1

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.

Add a comment
linuxhelp
asked Aug 19 2019
edited Aug 19 2019
Post your Answer