I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2007-12-17 21:39:45-08 by bv
How to move the .JPG_original file to a different directory

Hi Phil,

Is it possible to move the resulting .jpg_original files to a another location?

For Example:

Working directory = F:\Photos\1980_01_01 modified, renamed files = Q:\Photos\2007_09_08 Where 2007_09_08 reflects the DateTimeOriginal TAG _original files = H:\Photos\2007_09_08

I tried to create a different script to move the _original files but it always fails with a The system cannot find the file specified.

Any thoughts on how best do this? Thanks, Brooks

Direct Responses: 6706 | Write a response
Posted on 2007-12-17 23:52:30-08 by exiftool in response to 6704
Re: How to move the .JPG_original file to a different directory
There will be no .jpg_original file if you do this in one step. Since the new file is written to a different directory, the original file will remain with its name unchanged in the source directory.

But in general, the -overwrite_original option is the way to automatically remove the .jpg_original files. (as always, make sure you have original backups of all your image files before editing them with exiftool or any other utility.)

- Phil
Direct Responses: 6709 | Write a response
Posted on 2007-12-18 00:34:03-08 by bv in response to 6706
Re: How to move the .JPG_original file to a different directory

Hi Phil,

I was going to use the _originial as the backup. This way I know what has been updated and what was not.

This is what I did to move these files but it required that I add the .JRG extension otherwise it says file not found.

# EXIFTool ArgFile (windows standalone version 7.06 # # Move Original Files from working folder to original Image Folder # # Run this OS command first # ren *.???_original *.*.jpg # Envolk this ArgFile as follows: # exiftool -v -@ bv_move_org.arg -common_args -ext jpg -r .\*.???_orginal.* # -P -d F:/Photos/%Y_%m_%d/ -FileName<${DateTimeOriginal}%f%-2c # I added the %-2c just in case there is a duplicate (this should not happen but sometimes I have d +uplicate files in other directories) # # End of Processing #
Direct Responses: Write a response