ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: Burlewack on January 02, 2011, 02:24:09 AM

Title: Delete some Keywords rekrusive
Post by: Burlewack on January 02, 2011, 02:24:09 AM
Hello,

i.have some 1000 *.NEF Pictures with a IPTC tag like geo:lat.... and so on.
How can I delete all the geo:lat* stuffe in a batch conversation all over the volume?

Greetings Burlewack
Title: Re: Delete some Keywords rekrusive
Post by: Phil Harvey on January 02, 2011, 06:24:30 AM
Hi Burlewack,

You can delete specific keywords with an argument like -keywords-=VAL, and it is easy to apply this to an entire directory of images.

But if you don't know the exact keyword this won't work.  In this case the only option is to create a user-defined tag to filter the keywords.  I can help you with that if you give me more specific examples of the keywords you want to remove.

- Phil
Title: Re: Delete some Keywords rekrusive
Post by: Burlewack on January 02, 2011, 06:46:56 AM
I can easily delete the tags with lightroom.
The problem is, lightromm writes in xmp, not in my Nikon NEF Raws.

Would it be possible to overwrite the RAW IPTC Date with the concerning xmp files?
Title: Re: Delete some Keywords rekrusive
Post by: Phil Harvey on January 02, 2011, 08:53:09 AM
I don't understand what you are asking exactly, but the answer is "yes".

If you give more details about exactly what you want to do then I can give a more detailed answer.

- Phil
Title: Re: Delete some Keywords rekrusive
Post by: Burlewack on January 02, 2011, 08:57:35 AM
O.k. thank you.

I would like to write/delete IPTC Datas in Lightroom.
So I have NEF and XMP Datas.

Now i would like to delete the data in the NEF an replace with the XMP Data.

Is this possible rekrusive over a full volume?
Title: Re: Delete some Keywords rekrusive
Post by: Phil Harvey on January 02, 2011, 12:25:06 PM
To replace XMP in all NEF files in a directory:

exiftool -r -ext nef "-xmp<=%f.xmp" DIR

This assumes that each .nef image has a corresponding .xmp file.

- Phil
Title: Re: Delete some Keywords rekrusive
Post by: Burlewack on January 06, 2011, 12:29:10 PM
Thank you

Is it possible to do this over a whole directory inclusiv Subdirectorys?

Greetings
Burlewack
Title: Re: Delete some Keywords rekrusive
Post by: Phil Harvey on January 06, 2011, 12:43:55 PM
That is why I added the -r option.