Skip to content

Instantly share code, notes, and snippets.

@stefanzweifel
Created February 3, 2018 12:47
Show Gist options
  • Save stefanzweifel/fea9ab1de0768048cc7b23b38d2583c0 to your computer and use it in GitHub Desktop.
Save stefanzweifel/fea9ab1de0768048cc7b23b38d2583c0 to your computer and use it in GitHub Desktop.
exiftool -P -d '%Y-%m-%d' \
'-filename<${FileModifyDate;}.%e' \
'-filename<${GPSDateTime;}.%e' \
'-filename<${MediaCreateDate;}.%e' \
'-filename<${ModifyDate;}.%e' \
'-filename<${DateTimeOriginal;}.%e' \
"$1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment