AMP AMP
AMP
1
AMP

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
a sample image
caden
asked Aug 19 2019

Answer

AMP
1
AMP

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
a sample image
linuxhelp
asked Aug 19 2019
edited Aug 19 2019
Post your Answer