Monthly Archives: December, 2016

How to modify a timestamp of a file

A file can have two timestamp attributes: accessed and modified. You can set them individually, or both to the same time. If theĀ  accessed and modified time should be the same: $ touch -a -m -t 201512180130.09 fileName.ext Where: -a = accessed -m = modified -t = timestamp – use [[CC]YY]MMDDhhmm[.ss] time format If you …

Continue reading