Image-ExifTool - Re: Batch write filename to iptc field ?

Posted on Wed Apr 2 22:20:14 2008 by darryl in response to 7563 (See the whole thread of 37)
Re: Batch write filename to iptc field ?
Phil, Marty: I wanted to commend Marty for sticking through things this long. I don't work for SmugMug, I'm just one of their users that hangs out on the forums, and likes to geek out with stuff like this. I wanted to say that while their support forums may be a little too smiley, they ultimately do care about their customers and want stuff to work for them. However a lot of times we're stuck waiting for them to fix things according to their schedule. Trust me, I have *tons* of open issues with them. I *really* wanted to commend Phil for his persistence in helping Marty. And also for an amazing tool. One gripe though is that from reading the docs I could not find (or figure out) how to accomplish what you did with the Windows Shortcut. I believe I tried doing -caption-abstract="%f", but now I realize that the *FMT* strings can only be used when specifying DATFILES? I guess what wasn't clear is that FileName (and BaseName) tags could be used as input variables to tags, instead of just tags themselves, which you do detail. Finally, I did try and write this as a standalone (compiled with pp) Perl script, but failed miserably. Because ExifTool autoloads so much of itself when running, pp did not include all of the required files, so my executable ultimately failed because things like Writer.pl could not be found. My next workaround was to simply write a wrapper script (another pp-compiled exe) that called exiftool.exe to do the right thing. It worked, but I got bogged down in trying to make sure exiftool.exe was somewhere in the $ENV{'PATH'}. I'm much happier with your solution of a Shortcut with an appropriately modified Target. Way more elegant, and clearly has a lot of potential power. Here's a link to what the Shortcut looked like for me: http://www.dgrin.com/showthread.php?p=794782#post794782
Direct Responses: 7576 | Write a response