ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: angerlas111 on October 09, 2013, 10:46:44 AM

Title: cannot copy exif data from one directory to another
Post by: angerlas111 on October 09, 2013, 10:46:44 AM
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!!   :)
Title: Re: cannot copy exif data from one directory to another
Post by: Phil Harvey on October 09, 2013, 11:30:24 AM
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
Title: Re: cannot copy exif data from one directory to another
Post by: angerlas111 on October 09, 2013, 12:01:24 PM
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.  :)
Title: Re: cannot copy exif data from one directory to another
Post by: angerlas111 on October 09, 2013, 12:05:36 PM
ha!  I realized it just changed the thumbnails.  Disregard my last question.   Thanks!
Title: Re: cannot copy exif data from one directory to another
Post by: Phil Harvey on October 09, 2013, 12:07:29 PM
Excellent.  And thanks for the donation!

- Phil