Set file’s time stamp to exif header date

      No Comments on Set file’s time stamp to exif header date

Jhead is a great tool for manipulating jpeg exif headers. To change a file’s time stamp to what’s stored in the header, invoke:

$ jhead -ft filename.jpg

To change the time stamp of all files that were changed within the last day:

find . -mtime -1 -exec -type f jhead -ft {} \;

See also http://www.sentex.net/~mwandel/jhead/usage.html

Leave a Reply

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.