Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to change date of file in linux

/*how to change date of file in linux*/
touch -a -m -t 201512180130.09 fileName.ext

-a = accessed
-m = modified
-t = timestamp - use [[CC]YY]MMDDhhmm[.ss] time format
 
PREVIOUS NEXT
Tagged: #change #date #file #linux
ADD COMMENT
Topic
Name
1+5 =