Advertisement
ricbaral

exiftool examples (manipulate creation date)

Jan 4th, 2015
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.55 KB | None | 0 0
  1. # precondition: folder with crappy jpg file names, like 002.JPG
  2. # command below renames all files to each file's creation date
  3.  
  4. exiftool '-filename<CreateDate' -d %Y-%m-%d_%H.%M.%S%%-c.%%le -r /your/folder
  5.  
  6. # result file name 2009-01-14_07.16.46.jpg
  7.  
  8. # manipulate CreateDate (i.e. used by Google Photos)
  9. # command below adds 54 minutes to all images in current folder (-m hides minor warnings/errors)
  10. exiftool '-CreateDate+=0:0:0 0:54:0' -m .
  11.  
  12. # copy the "Date Time Original" in "File Modification Date"
  13. exiftool "-filemodifydate<datetimeoriginal" .
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement