cannot copy exif data from one directory to another

Started by angerlas111, October 09, 2013, 10:46:44 AM

Previous topic - Next topic

angerlas111

Hi, i am a noob to this program.  I am trying to copy all exif data from the files in one directory to the files in another.  the file names are the same.  when i run

exiftool -tagsfromfile \Users\admin\Pictures\interior pictures\727 livingrooms/%d%f.%e -ext jpg \Users\admin\Pictures\cl house ads\10-2 ads

i get this error:
File '\Users\admin\Pictures\interior' does not exist for -tagsFromFile option
<-END-

I have tried it with C:\ also. 

I don't know what to.  I am beating my head against the wall.  Any help would be greatly appreciated!!   :)

Phil Harvey

You need quotes around any options that contain special characters such as spaces.  Try this:

exiftool -tagsfromfile "\Users\admin\Pictures\interior pictures\727 livingrooms/%f.%e" -ext jpg "\Users\admin\Pictures\cl house ads\10-2 ads"

Also, I have removed the %d from your file name specification because it represents the source directory name.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

angerlas111

Thank you Sir!!! That worked great!  One question though, it appears that in addition to copying all the exif data that it moved the actual photos from the source directory into the destination directory.  how can i stop that? 

This tool is awesome, and I cannot wait to learn it better.  Btw,  I am making a donation from by business paypal so keep a watch out for that.  :)

angerlas111

ha!  I realized it just changed the thumbnails.  Disregard my last question.   Thanks!

Phil Harvey

...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).