Recent Posts

Pages: [1] 2 3 ... 10
1
Bug Reports / Feature Requests / feature submission zsh-completion
« Last post by HeLiBlocks on Today at 04:17:11 PM »
As I like this tool i thought I'd share my completion script for the ZSH shell.
https://github.com/HeLiBloks/exiftool-zsh-completion
2
Newbies / Re: Filtering tags by language/locale when reading
« Last post by Phil Harvey on Today at 02:52:47 PM »
OK, how about this?:

exiftool "--*-??" -execute "-*-en-US" -common_args FILE

This command runs exiftool twice on the file.  The first time it extracts all tags without except alternate language tags, and the second pass extracts all "en-US" tags.

- Phil
3
Newbies / Re: Filtering tags by language/locale when reading
« Last post by cheshyre on Today at 01:45:01 PM »
Yes, I'd like to extract BOTH Description and Description-en-US (and likewise for all the other tags).
However, if it's easier to extract one OR the other, then I'll take the instructions for that.
I can always run the command twice, once for each locale, and just append the results.
4
Newbies / Re: Multiple tag values into keywords in a single command
« Last post by StarGeek on Today at 12:53:05 PM »
There's an example in the Copying examples part of the docs, though it's a further down the list

Code: [Select]
exiftool '-keywords+<make' image.jpg
    Add camera make to list of keywords

Just do the same for the tags you want: "-keywords+<Model" "-keywords+<LensID"
5
Newbies / Multiple tag values into keywords in a single command
« Last post by timfulcher on Today at 12:44:47 PM »
Hi,

Firstly thanks Phil for all your hard work with this (if you by any chance read this).

If this has been posted somewhere, apologies, just point me in the right direction. I did look but couldn't find anything obvious.

Adding multiple keywords to image files is fine, but I can't figure out an elegant means of adding multiple exif tags to the keywords - for instance I want to add LensID, Model, DOF etc to each image file in a folder of files. The only solution I've found is run exiftool multiple times, which is inelegant and I therefore presume I'm missing something really obvious.

Is there an equivalent of exiftool -sep ", " -keywords=Nikon, D300, 35mm f/1.8 G, ISO 640... please for the information contained in the metadata?

Thanks for your time

Tim
6
Newbies / Re: Syntax to Add or Change Rating or Label
« Last post by rcgordon on January 20, 2017, 09:55:50 PM »
Thanks. It appears that both ratings and labels are numerically (0-5), and labels are strings:

exiftool -P rating=3 -label="Approved" FILENAME

…sets the rating to 3 stars and the label to "Approved" without affecting the mod date. Perfect! Thanks.
7
Newbies / Re: Syntax to Add or Change Rating or Label
« Last post by StarGeek on January 20, 2017, 09:25:55 PM »
I haven't tested Adobe Bridge yet, but you can find some tag information from Lightroom 4.4 here

LR uses xmp:rating for the rating, so to clear that your command would include -xmp:rating= or to clear rating data that might be in the EXIF block as well, -rating=

To clear the label, use -label=

You can add -P to prevent the system time stamps from changing and the ModifyDate tag isn't automatically altered by exiftool, you have to do it manually.

To set rating and label, you simple set them equal to the value you want.  For example, -label="Approved" to set the label to Approved.  You may have to play with what values rating sets and reads.  I haven't tested to see if it's a 0-5 scale or 0-100 scale. 

See FAQ 3 for help in figuring what Bridge reads and writes.

Bridge is on my list of apps to test and chart like I did for LR, but I haven't gotten around to it yet.
8
Newbies / Syntax to Add or Change Rating or Label
« Last post by rcgordon on January 20, 2017, 08:27:01 PM »
Hi,

I'm confused about the syntax for a command that would do the following:

I want to delete the rating and label (as set by Adobe Bridge) for a group of images, without changing the modification date.

Please clarify also how to set the rating to a number and set the label to a value (say, "Approved"), where either a prior value does or does not exist.

Thank you.
9
Newbies / Re: Filtering tags by language/locale when reading
« Last post by Phil Harvey on January 20, 2017, 03:39:02 PM »
Typically there will be a default language version of the tag which is english.  In your example, do you want to extract both Description and Description-en-US, or one or the other?

Extracting only a specific language is easy, but it sounds like you want to do something more complex, which may be difficult.

- Phil
10
Newbies / Filtering tags by language/locale when reading
« Last post by cheshyre on January 20, 2017, 02:47:28 PM »
I've been extracting the metadata from font files.

Many of them have multiple locale-specific tags.
For example, a file may contain all of the following:
  • Description
  • Description-en-US
  • Description-fr
  • ...
I'd like to extract ONLY tags which are English (-en*) or which have NO locale specified.

Is there an easy way to do this in the command line?
My unfamiliarity with the terminology may have gotten in the way of finding the answer in the docs.

Thanks in advance for assistance, and thanks for such a marvelous tool!
Pages: [1] 2 3 ... 10