Created
March 8, 2012 17:37
-
-
Save shenqi/2002269 to your computer and use it in GitHub Desktop.
Change Exif Info for films scanned
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
function exif_film_lx(){ | |
foreach _file ($@) | |
echo 'Processing '${_file} | |
local _date | |
_date="$(exiftool -s3 -IPTC:DateCreated ${_file}) 00:00:00" | |
exiftool -q -overwrite_original -Make='Pentax' -Model='LX' -XMP-photoshop:DateCreated=${_date} - | |
IPTC:TimeCreated='00:00:00+00:00' -Exif:DateTimeOriginal=${_date} ${_file} | |
end | |
growlnotify -s -a /Applications/iTerm.app "iTerm" -m "Finished rewriting tags" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment