Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux change date and then change files ctime

$ NOW=$(date) && date -s "2030-08-15 21:30:11" && touch file.txt && date -s "$NOW"
Source by www.shellhacks.com #
 
PREVIOUS NEXT
Tagged: #linux #change #date #change #files #ctime
ADD COMMENT
Topic
Name
4+8 =