Export selected fields of IPTC on a Mac

Started by pauld2023, January 13, 2023, 05:41:57 PM

Previous topic - Next topic

StarGeek

Quote from: pauld2023 on January 19, 2023, 03:49:37 PMpaul$ exiftool -csv -creator -description -sub-location -Province-State/Users/paul/Documents/box
Invalid TAG name: "Province-State

Does it say
Invalid TAG name: "Province-State
or does it say
Invalid TAG name: "Province-State/Users/paul/Documents/box"
No file specified

Because it's important to copy/paste the entire output so we can see the problem.

Your example is missing the space between the tag name and the file path.


* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Phil Harvey

Sorry, you are right.  I'm the dense one.  The tag name is "Province-State".

Hopefully StarGeek has unravelled this mystery.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

pauld2023

Befitting the Newbie forum, I think the hiccup was the lack of a space between the command & file path. Got it to work, thanks StarGeek!

Hubert

You need a space between 'Province' and '/'.