ExifTool Forum

General => Metadata => Topic started by: ekry on April 27, 2013, 07:41:40 PM

Title: writing directory name into xmp
Post by: ekry on April 27, 2013, 07:41:40 PM
Hi

I've seen https://exiftool.org/forum/index.php/topic,2731 (https://exiftool.org/forum/index.php/topic,2731) writing filename information into metadata is no problem. How can I fetch the name of the current directory and write it into let's say "Title" as in:

exiftool "-IPTC:Caption-abstract<filename" ~/Desktop/FOLDER

thank you very much!
Title: Re: writing directory name into xmp
Post by: Phil Harvey on April 27, 2013, 08:19:39 PM
The command is:

exiftool "-IPTC:Caption-abstract<directory" ~/Desktop/FOLDER

- Phil