linux set modified date of file code example
Example 1: linux show last modified time of file
stat myfilename.txt | grep "Modify"
Example 2: 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