Thursday, September 18, 2014

How to change the file creation time of the Bash command line for Linux

How to change the file creation time of the Bash command line for Linux


# touch -d datatime file


Example:
# touch -d 20120506 1.txt

# ls -la 1.txt

-rw-r--r-- 1 root root 3451 May 6 2012 1.txt



How to change the file creation time of the Bash command line for Linux

No comments:

Post a Comment