Created
June 8, 2011 13:00
-
-
Save danieldbower/1014372 to your computer and use it in GitHub Desktop.
Rename Canon picture files with ExifTool
This file contains hidden or 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
############################################################### | |
# canon-date.sh | |
# Renames photos taken by Canon Digital Cameras into something | |
# more sortable and useful. | |
# | |
# Depends on exiftool | |
# | |
# Download, make executable, and then run ./canon-date.sh in the | |
# directory of the photos you want to rename. The script will | |
# create sub-directories by year and month. | |
############################################################### | |
exiftool '-FileName<CreateDate' -d %Y-%m/%Y%m%d_%H%M_%S_%f.%%e . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment