ExifTool Forum

ExifTool => Newbies => Topic started by: almora on August 02, 2022, 04:57:20 PM

Title: tagsfromfile for multiple tiff
Post by: almora on August 02, 2022, 04:57:20 PM
Hi all.

I've 2 directories: the first one contains xxx_T.tif files (these have LAT/LONG/EL... informations), the second one contains xxx_T_TEMP.tif files (these doesn't have LAT/LONG/EL...infos).
I need to transfer META data from the first to the second directory (i don't know if the _TEMP different name of files could be a problem...)

Thanks in advance to all

Title: Re: tagsfromfile for multiple tiff
Post by: StarGeek on August 02, 2022, 05:11:48 PM
Your command would be something like
exiftool -TagsFromFile /path/to/source/%-.5f.%e -TAG2COPY1 -TAG2COPY2 /path/to/target/

You would replace TAG2COPY with the names of the tags you want to copy.  You could use -All:All to copy all the tags or if you wanted to copy just the GPS tags, you could use a wildcard like this -GPS*