datei datum als exif datum setzen

das commandline programm “exiftool” ist schon extrem cool 🙂

zuerst das “modify date” der datei in das “CreateDate” exif feld der datei kopieren

exiftool "-FileModifyDate>CreateDate" *.jpg

dann das “CreateDate” in die exif felder “DateTimeOriginal” und “ModifyDate” kopieren

exiftool "-CreateDate>DateTimeOriginal" *.jpg
exiftool "-CreateDate>ModifyDate" *.jpg

und da durch die zuvor abgesetzten befehle sich das “modify date” der datei geaendert hat, das einfach wieder zurueck setzen auf das “CreateDate” aus dem exif header

exiftool "-CreateDate>FileModifyDate" *.jpg

Author: sd

Leave a Reply

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