Created
January 27, 2011 19:50
-
-
Save ssp/799094 to your computer and use it in GitHub Desktop.
exiftool commands
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
# Move Description tag to Title tag | |
exiftool '-Description>Title' * | |
# Move Title tag to Headline Tag | |
exiftool '-Title>Headline' * | |
# Rename from tag, adding number if necessary for uniqueness, | |
# without changing file dates. | |
exiftool '-FileName<${description}%-c.jpeg' '-DateTimeOriginal>FileModifyDate' * | |
# Workaround for iPhoto ’10’s boneheaded behaviour of being unable to | |
# add IPTC tags for keywords and titles to images without recompressing them: | |
# 1. Export the original format without the tags from iPhoto | |
# 2. then export JPEG format with IPTC tags | |
# 3. then use this command to copy the IPTC tags over | |
# (Caveat: the file names need to be the same, which can be difficult to achieve with | |
# iPhoto’s strange way of changing the capitalisation of file name extensions) | |
ls −1 /Incoming/Photos | xargs -L 1 -I NAME exiftool -charset IPTC=UTF-8 -tagsFromFile /Incoming/Photos-with-Tags/NAME /Incoming/Photos/NAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment