Main Menu

Copy keywords

Started by karlmz, March 02, 2021, 03:15:31 PM

Previous topic - Next topic

karlmz

Hi,
I would like to copy keywords from pictures in one directory to pictures in another directory. The source and destination pictures have the same filename base (e.g. DSC_1234), but the extensions (jpg, nef, etc.) may differ. So, is there a way to use Exiftool to copy keywords by only using the filename base, or must the full filename, including the extension, be used?

Karl

StarGeek

An extension of some sort must be used as the source, but you can use multiple -TagsFromFile options to cover all bases.

You aren't clear what type of files you're copying from, so the actual command may differ
exfitool -TagsFromFile /path/to/source/%f.jpg -Keywords /path/to/targets

In this case, if the Targets directory has, for example, file.tiff and file.nef, it will copy Keywords from file.jpg in the source directory to both of those files.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

karlmz

Thank you! That will work.

Karl