ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: YAUN on November 08, 2010, 11:15:44 PM

Title: Total Defeat
Post by: YAUN on November 08, 2010, 11:15:44 PM
Yup. Total. exiftool -TagsFromFile "BigLongDirectory\DSC_0000.JPG" -Title -Rating -Label "ADifferentBigLongDirectory\DSC_0000.JPG" works just fine. How do you do all files in the LongDirectories? I.E. what is the bloody syntax for exiftool -TagsFromFile "BigLongDirectory\*.JPG" -Title -Rating -Label "ADifferentBigLongDirectory\*.JPG" Yes, the file names are the same in each directory. I don't want directories created or files moved and the documentation has totally defeated me and there are no relevant examples despite hours of reading, gooooogling, and binging. Help and thanks. :-\
Title: Re: Total Defeat
Post by: Phil Harvey on November 09, 2010, 07:32:39 AM
Try this:

exiftool -tagsfromfile "BigLongDirectory\%f.%e" -Title -Rating -Label "ADifferentBigLongDirectory" -ext JPEG

- Phil
Title: Re: Total Defeat
Post by: YAUN on November 09, 2010, 09:29:44 PM
Worked just fine. (I know EXIFTool is extremely powerful, sorry I'm unable to handle from-to directory syntax.) Much thanks for the tool and for the help in using it. :)