Home > Uncategorized > Set file’s time stamp to exif header date

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

(No Ratings Yet)
Categories: Uncategorized Tags:
  1. No comments yet.
  1. No trackbacks yet.