Hello,
I have some image backups that I want to restore. They are located in Z:\Photos\20180428. When I executre the command exiftool -restore_original Z:\Photos\20180428, I get a message that 1 directory scanned, but 0 original files found.
Can anyone point me to the error in my command?
Thanks,
Xavier
Hi Xavier,
The -restore_original option restores from "_original" files that ExifTool created. They must be in the same directory as the edited files.
- Phil
Hi Phil,
I know my mistake then. I deleted all but the backup "_original" files, so they no longer exists in that directory. There's a chance my offline backup grabbed them. I can also rename copies of them back to jpg. I know what NOT to do now! :)
Thanks for the help!
Xavier
Quote from: txastro on May 01, 2018, 11:58:38 AMI can also rename copies of them back to jpg.
You could use exiftool to quickly rename them.
exiftool "-filename<${filename;s/_original//}" Z:\Photos\20180428
Excellent, thanks!!!
Quote from: StarGeek on May 01, 2018, 01:12:11 PM
exiftool "-filename<${filename;s/_original//}" Z:\Photos\20180428
You would need to specify "Z:\Photos\20180428\*_original" or something like that to pick up the "_original" files. ExifTool won't process them by default.
- Phil
That worked perfectly. Thanks!
Xavier