exiftool(-k).exe - Freaking awesome!

Started by Kugelblitz, November 09, 2018, 04:10:15 AM

Previous topic - Next topic

Kugelblitz

I just read the ExifTool For Dummies
https://exiftool.org/dummies.html

and the option to put in arguments in the brackets after the filename of the exiftool is great!
Just renamed it to "exiftool(-k -g -s).exe" and once I drag n drop a file on it I get the metadata in Groups with the Short output format that can be used in exiftool commands.
Very very very Cool Phil!

Such a pitty that Windows does not allow the following characters in a Filename / \ : * ? " < > |
Maybe that is the reason to switch to mac ;)


Phil Harvey

You can use a Windows shortcut if you need a more complex command.

Mac doesn't support drag-n-drop like Windows.

- 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 ($).

Hayo Baan

Quote from: Phil Harvey on November 09, 2018, 07:19:04 AM
Mac doesn't support drag-n-drop like Windows.

But you can create an automator object that can do this (and much more).
Hayo Baan – Photography
Web: www.hayobaan.nl

elhiero

I'm a fan of windows shortcuts.
Dozens can be created and placed anywhere.
A simple drag and drop of folders and processing is performed

Kugelblitz

Hello elhiero

Thank you very much for the hint with the shortcuts and the detailed explanation on your page http://orchisere.pagesperso-orange.fr/logiciels/html/exiftool.htm

Would you like to share your Links too? I am specially interested in the Picasa "shortcuts" you made.

elhiero

In a few days I'll share the shortcuts ...
(If you are using Google translate to read my page, you must use the original version to copy exiftool commands, because Google adds a lot of spaces in the text)

I'm still working on Picasa faces conversion,  with the help of StarGeek on this forum.
The title of this post https://exiftool.org/forum/index.php/topic,9636.0.html  is "avpicfacexmptagger" and it's located under "ExifTool Gui" section
avpicfacexmptagger is a utility to convert Picasa faces into keywords...
... but I'm trying to use only ExifTool  for this purpose

elhiero

#6
QuoteWould you like to share your Links too? I am specially interested in the Picasa "shortcuts" you made.
Some of my Windows shortcuts are shown in the picture I joined above

"Picasa" shortcuts are used to convert Picasa faces recognition data into standard keywords. It's explained in this post about avpicfacexmptagger:
https://exiftool.org/forum/index.php/topic,9636.0.html  (Nov,20, 2018)
You will find there a downloadable config file (picasa_faces.config) and a "args.txt" file.

"DIRtoKeywords" shortcuts are used to move from a thematic classification by folder to a classification by keywords.
They require a configuration file (Dirtree.txt) to convert folder names into keywords.
It was written and explained by Phil here: https://exiftool.org/forum/index.php/topic,4513.0.html

Name-of-shortcut
Target

ADD 12 Years
C:\Tool\exiftool.exe -k -ModifyDate+="0012:00:00 00:00:00" -DateTimeOriginal+="0012:00:00 00:00:00" -CreateDate+="0012:00:00 00:00:00"

Delete Oplympus
C:\Tool\exiftool.exe -ext orf -ext jpg  -imagedescription= -if "$imagedescription =~ /^OLYMPUS DIGITAL CAMERA/"

Delete_Original
C:\Tool\exiftool.exe -delete_original -k

Restore_Original
C:\Tool\exiftool.exe -restore_original -k

DIRtoAll Keywords
C:\Tool\exiftool.exe -config C:\Tool\conf\Dirtree.txt  -k -r -iptc:keywords+<dirtree -xmp-dc:subject+<dirtree

DIRtoIPTC Keywords
C:\Tool\exiftool.exe -config C:\Tool\conf\Dirtree.txt  -k -r -iptc:keywords+<dirtree

DIRtoXMP Subject
C:\Tool\exiftool.exe -config C:\Tool\conf\Dirtree.txt  -k -r -xmp-dc:subject+<dirtree

IPTCtoEXIF
C:\Tool\exiftool.exe -k -exif:xpcomment<iptc:caption-abstract -exif:copyright<iptc:copyrightnotice -exif:xpauthor<iptc:by-line

MetaToTxt
C:\Tool\exiftool.exe -a -u -g1 -w txt

MetaTxtFr
C:\Tool\exiftool.exe -a -u -g1 -G -lang fr -charset latin -w txt

NameToCaption
C:\Tool\exiftool.exe -IPTC:Caption-Abstract<${FileName;s/\.[^.]*$//} -XMP:Description<${FileName;s/\.[^.]*$//} -L -k

NameToTitle
C:\Tool\exiftool.exe -k -IPTC:Headline<${FileName;s/\.[^.]*$//}

XMPtoSIDECAR
C:\Tool\exiftool.exe -k -o %d%f.xmp -xmp:all

Picasa Full Keywords
C:\Tool\exiftool.exe -config "C:\Tool\conf\picasa_faces.config"  -if $PicasaRegionNames#  -@ "C:\Tool\conf\arguments.txt" -api "Filter=s/^/famille|/" "-xmp-lr:hierarchicalsubject+<PicasaRegionNames"

Picasa NoDups
C:\Tool\exiftool.exe -sep "##" "-xmp-lr:hierarchicalsubject<${xmp-lr:hierarchicalsubject;NoDups}" "-iptc:keywords<${iptc:keywords;NoDups}" "-xmp:subject<${xmp:subject;NoDups}" -k