Created
January 2, 2019 12:12
-
-
Save randria/32461f251c48bd3d29f136019a0a53bd to your computer and use it in GitHub Desktop.
exiftool options
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# rename file to "YYYYMMDDTHHMMSS[-XX].EXT" and move files to $DIRDST/<YEAR>/ | |
DIRDST=; DIRSRC=; exiftool -v "-filename<filemodifydate" "-filename<createdate" "-filename<datetimeoriginal" -ext mp4 -ext mpg -ext bmp -ext avi -ext jpg -ext mov -d "$DIRDST/%Y/%Y%m%dT%H%M%S%%-c.%%ue" -r $DIRSRC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment