Hi there, just wondering if this is possible:
I've removed all EXIF information from .JPG files (yeah, stupid but I did some time ago).
Now I want to rebuild the EXIF information from existing information, like the filesystem date & time.
I've tried exiftool -exif:all= -tagsfromfile @ -all:all -unsafe filename.jpg from the examples, but this does not add an EXIF to the file ;-)
Thanks for helping me out!
The example command copies tags to the same location, but you want to copy the system tags to EXIF.
Try this:
exiftool "-alldates<filemodifydate" -P filename.jpg
The AllDates tag is a Shortcut tag representing CreateDate, ModifyDate and DateTimeOriginal.
I added the -P option to preserved the original FileModifyDate.
- Phil