ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: evilaro on April 27, 2011, 06:41:40 AM

Title: Getting tags of only one file
Post by: evilaro on April 27, 2011, 06:41:40 AM

Hi:

I use
     
     exiftool.exe -list -r -v > result.txt

To get the tag names... but I get ALL the tag names

I would like to get only the tags of a specific file.

I try this , but it does the same

     FILE="E:\IM\RA001\DVD 101\OLYMPUS_900Z\223_Mali_Burkina\P1010052.JPG"       
     exiftool.exe -list -r -v "&FILE" > result.txt

Is there a way to get ONLY the tags that a specific file has?


Thanks

Emilio
Title: Re: Getting tags of only one file
Post by: Phil Harvey on April 27, 2011, 08:22:06 PM
See your other post (https://exiftool.org/forum/index.php/topic,3268.0.html)
Title: Re: Getting tags of only one file
Post by: evilaro on April 28, 2011, 10:38:56 AM
Phil:

Thanks...

That proves I am loosing memory .. and ... I really have this need ;)

Basically what I want to optain (probably you have already answered this question, but I do not find it)
is the words to use to obtain the basic parameters in EXIF.
There are so many variations that really is difficult to know which one to use
 
for example :

'File Name'
'Date/Time Original'
'Aperture'
.
.

to put it here


'exiftool.exe -r -filename -DateTimeOriginal -aperture -ISO -Make -Model -Flash -FocalLength -ExposureTime  "&DIR"  > resultado.csv'


Is there a one to one list?

No hurry with the answer... enjoy well deserved holidays ;)

Emilio


Quote from: Phil Harvey on April 27, 2011, 08:22:06 PM
See your other post (https://exiftool.org/forum/index.php/topic,3268.0.html)
Title: Re: Getting tags of only one file
Post by: Phil Harvey on April 29, 2011, 06:38:34 AM
It sounds like you are asking a different question now.

There is a -common shortcut to extract some common tags, but this probably isn't exactly what you want.

However, you can create a user-defined shortcut tag to extract whatever tags you like.  You say that it is difficult for you to know which ones to use, but it is more difficult for me to know which ones you want to use.

- Phil
Title: Re: Getting tags of only one file
Post by: evilaro on May 01, 2011, 04:55:50 PM
Phil:

Thanks... Yes it is real hard to know which ones I want to use... but that part
is solved, but my users can ask ANY thing in this world...

Anyway, I feel I got the idea, when I get it to work I will come back

Thanks

Emilio



Quote from: Phil Harvey on April 29, 2011, 06:38:34 AM
It sounds like you are asking a different question now.

There is a -common shortcut to extract some common tags, but this probably isn't exactly what you want.

However, you can create a user-defined shortcut tag to extract whatever tags you like.  You say that it is difficult for you to know which ones to use, but it is more difficult for me to know which ones you want to use.

- Phil