This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
links:photo [2010/07/24 11:46] 127.0.0.1 external edit |
links:photo [2019/03/06 07:33] (current) |
||
---|---|---|---|
Line 26: | Line 26: | ||
* http://www.sno.phy.queensu.ca/~phil/exiftool/ExifTool.html | * http://www.sno.phy.queensu.ca/~phil/exiftool/ExifTool.html | ||
+ | ==== Get EXIF and Set Creation DateTime ==== | ||
+ | |||
+ | * use [[http://www.imagemagick.org/Usage/photos/|ImageMagick]] tool to read EXIF in JPG file \\ <code> | ||
+ | > identify -verbose IMG_8148.JPG | grep DateTimeOriginal | ||
+ | exif:DateTimeOriginal: 2015:11:09 17:18:55 | ||
+ | </code> | ||
+ | * [[http://www.sno.phy.queensu.ca/~phil/exiftool/|exiftool]] (not part of ImageMagick) | ||
+ | * {{:links:exiftool.txt|manual}} | ||
+ | * <code> | ||
+ | # example | ||
+ | exiftool "-FileName<CreateDate" -d "%Y%m%d_%H%M%S.%%e" DIR | ||
+ | # keep original filename: | ||
+ | exiftool '-FileName<CreateDate' -d d%Y%m%d-%H%M%S-%%f.%%e DIR | ||
+ | </code> | ||
+ | * http://search.cpan.org/dist/Image-ExifTool/ |