Linux command to change file’s timestamp

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.

touch -a -m -t 201512180130.09 fileName.ext

Share on facebook
Share on twitter
Share on pinterest
Share on linkedin
Share on reddit
Share on tumblr
Share on whatsapp
Share on email
Share on print

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top