Skip to content

Instantly share code, notes, and snippets.

@randria
Last active January 4, 2021 17:38
Show Gist options
  • Save randria/be84326e856e082deb1606d4602be63b to your computer and use it in GitHub Desktop.
Save randria/be84326e856e082deb1606d4602be63b to your computer and use it in GitHub Desktop.
exiftool-tips
# renaming files
exiftool -v '-filename<${DateTimeOriginal}' \
'-filename<${createdate}' \
'-filename<${filemodifydate}' \
-d <directory_destination>/%Y%m%dT%H%M%S%%-c.%%ue -P -overwrite_original
-r <directory_source>
exiftool -v '-filename<${DateTimeOriginal}.${filetype}' \
'-filename<${createdate}.${filetype}' \
'-filename<${filemodifydate}.${filetype}' \
-d <directory_destination>/%Y%m%dT%H%M%S%%-c -P -overwrite_original
-r <directory_source>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment