1. You rock - thank you very much. :-)
and2. I'm not sure if it will help, but here are my scripts if they save anyone time.
In BASH for backup:
CPAN::Forum
Image-ExifTool - Re: Script for Restore of EXIF data from saved JPEGs (After image editing)
| Posted on Fri Jun 8 05:59:12 2007 by morganglines in response to 5304 (See the whole thread of 15) |
| Re: Script for Restore of EXIF data from saved JPEGs (After image editing) |
|
1. You rock - thank you very much. :-) and2. I'm not sure if it will help, but here are my scripts if they save anyone time. In BASH for backup:
#!/bin/bash
echo "Hello, $USER. A new folder will be created to back up EXIF info."
Mkdir ./ExifBackup
exiftool -o ./ExifBackup/%f.mie -ext cr2 .
exiftool -o ./ExifBackup/%f.mie -ext crw .
exiftool -o ./ExifBackup/%f.mie -ext pef .
exiftool -o ./ExifBackup/%f.mie -ext tif .
exiftool -o ./ExifBackup/%f.mie -ext jpg .
Pictures are then edited . . . I know the imaging programs shouldn't mess with the raw files anyway (at least not in this generation of image editors), but I try to be consistent since a couple of my older cameras only shoot JPEGs. In BASH for restore:
#!/bin/bash
echo "Hello, $USER. Restoring EXIF."
exiftool -s *.jpg>0exifinfoprerestore.txt
exiftool -overwrite_original -tagsfromfile ./ExifBackup/%f.mie -ext jpg .
exiftool -overwrite_original -keywords+='YourStandardKeyword1Here' -keywords+='YourStandardKeyword2
+Here' *.jpg
echo "All done . . ."
In Windows XP for Backup:
exiftool -o ExifBackup/%%f.mie -ext cr2 .
exiftool -o ExifBackup/%%f.mie -ext crw .
exiftool -o ExifBackup/%%f.mie -ext pef .
exiftool -o ExifBackup/%%f.mie -ext jpg .
exiftool -s *.jpg >ExifBackup/JPEGsPreBackup.wri
exiftool -s *.cr2 >ExifBackup/CR2PreBackup.wri
exiftool -s *.crw >ExifBackup/CRWPreBackup.wri
exit
In Windows XP for Restore:
exiftool -s *.jpg >ExifBackup/JPEGsPreRestore.wri
exiftool -overwrite_original -tagsfromfile %%d/ExifBackup/%%f.mie -ext jpg .
exiftool -overwrite_original -keywords+="KeywordHere" -Software= *.jpg
Hope this saves someone else some time (or perhaps makes it easier to write a better set of scripts based on your own needs). Thank you again - this is an awesome tool. -mg |
| Direct Responses: 5364 | Write a response |
(6)
]