Fixing the embedded Rating=0 in NEF files - what options?

Started by ubacher, August 29, 2023, 07:25:27 PM

Previous topic - Next topic

ubacher

Many Nikon NEF files have an embedded XMP record which sets the Rating to zero - causing
many problems downstream.
As far as I can find out we can only fix this by running the Exiftool Command Processor (Delete XMP Metadata).

I was looking for a simple one-click solution to use as soon as NEF files have been ingested. Metadata Mechanic does not touch raw files. Exiftool can not be used in an Automation favorite (can not specify action to take).
An App could remove the offending metadata record - but writing such which is reliable even when handling large number of files is beyond me.

How do other users deal with this? Is this not a big enough nuisance? What would be the most convenient solution
(other than Nikon fixing it in camera).


Mario

#1
QuoteMany Nikon NEF files have an embedded XMP record which sets the Rating to zero - causing many problems downstream.
For many years, IMatch has an option that tells it to ignore the hard-coded rating=none.
See Settings > Metadata 2: Ignore rating of embedded XMP record.

QuoteExiftool can not be used in an Automation favorite (can not specify action to take).
Why not?
-overwrite_original -xmp= {File.FullName}
or similar just do the trick just fine.

Or you select the files in question and run the ECP with the "Delete XMP Metadata" preset.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

ubacher

1. I need to remove the Rating in the NEF so that I can pass on a new rating to Photoshop.


2. I do not know how to set up an Automation favorite which calls the exiftool processor
with a specified preset. Help please.
Ah! I just thought of it: run it as an external command - n'est-ce pas?

Mario

QuoteAh! I just thought of it: run it as an external command - n'est-ce pas?
Automation Favorites are for running commands or favorites. No favorite types exist for the ECP.
Running ExifTool as a normal external tool will work just fine. Try this:

Image2.jpg
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

ubacher

Works fine for one file. Any way it can be made to run over all selected files?

About the ECP as as automation favorite:




Mario

Exiftool can process all files in a folder, it supports wild cards etc.
See https://exiftool.org/exiftool_pod.html

The ECP can process many files in one go, too
F9, E, Select "Delete XMP metadata" and let it rip with F9.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

ubacher

To get exiftool to process many files: the question is how to specify this in an external process favorite.
What can I put instead of {File.FullName}?

The screenshot on my last post was missing. It was just to show that ECP can be called in a automation favorite.
Here it is:

.

Mario

QuoteWhat can I put instead of {File.FullName}?
The wildcard you want to use, in ExifTool syntax. And the name of the folder, hard-coded or from a variable.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook