ExifTool Forum

ExifTool => Newbies => Topic started by: sjDelaney on October 04, 2016, 04:02:28 PM

Title: Error: .... already exists - Trying to copy files to new directories
Post by: sjDelaney on October 04, 2016, 04:02:28 PM
Code is:
  exiftool -r -v -o '-directory</Volumes/D512/ProofsByName/${Subject;$_=/~ *(.*?) *: *(.*?) *:/ ? qq($1/$2) : undef}' '/Volumes/D512'

Error Msg:
======== /Volumes/D512/POTC Proofs - Friday/20160909-080722.jpg
Error: '-directory</Volumes/D512/ProofsByName/${Subject;$_=/~ *(.*?) *: *(.*?) *:/ ? qq($1/$2) : undef}' already exists - /Volumes/D512/POTC Proofs - Friday/20160909-080722.jpg

I'm using a MAC.
Title: Re: Error: .... already exists - Trying to copy files to new directories
Post by: Phil Harvey on October 04, 2016, 05:33:42 PM
You're using the -o option which expects an output file name or directory.  I assume you are using this to duplicate the file.  You should use "-o ." or "-o dummy/" instead of just "-o".

- Phil