Linux command to change file’s timestamp

Mar 31, 2019 10:10 am
by Alex

There are many times when I finished editing the videos or photos and when I do the export, the file’s timestamp is the export date and time, but the event was a few days ago or even a few months ago, I use the following command to change the timestamp on my files so when I upload the edited files to google photo, it will goes together with the rest of the photo shoot on that day.

[php]
touch -a -m -t 201512180130.09 fileName.ext
[/php]