Copy Filename to IPTC Caption? - help w/ Picasa shortcoming

Started Oct 9, 2008 | Discussions
Shop cameras & lenses ▾
Truelight Senior Member • Posts: 2,854
Copy Filename to IPTC Caption? - help w/ Picasa shortcoming

I'm hoping someone hear might know how to do this:

I need to compensate for a shortcoming in the otherwise excellent program Picasa 3.0 and that ExifTool GUI (or something similar) might be the fix.

Picasa has the option of typing in captions which are store to the IPTC Abstract-Caption field of the file. What I'd like to do is to use a routine to batch copy the File Name from many images to this field. That way, the Filename would be displayed as my Caption.

The reason for doing this is that when images are uploaded from Picasa to Picasaweb, they are labeled with the Caption, (not with the filename!) which is a real limitation for me.

Can you outline a simple way to do what it is I'm looking to do? Let me know what tool/technique is needed and giive a step-by-step if you can please.

Be gentle now, writing code or cryptic Dos command lines loses me real fast.

Thanks....

-- hide signature --
hbx2004 Veteran Member • Posts: 3,162
Easy solution...

Hi Rick,

It's quite unusual (not often needed) to have filename inside IPTC:Caption-Abstract tag. Ok, but you need that...

As you mentioned ExiToolGUI, I hope you installed exiftool.exe into Windows folder (because that makes some things easier). And here you go:
1. create empty folder and copy all images you wish to modify into it
2. run Command Prompt and go into folder which you created right before
3. run following command:

exiftool "-IPTC:Caption-Abstract

-which will change desired tag of all jpg files inside current folder. Just make sure you type the command exactly as shown above (incl. quotation marks!).

Maybe you should try with smaller amount of image files first -just for checking if that's what you wish.
NOTE: this command will erase all previous content of Caption-Abstract tag!

I hope that's not too cryptic

Greetings,
Bogdan
--
My pictures are my memories
http://freeweb.siol.net/hrastni3/

Truelight OP Senior Member • Posts: 2,854
Re: Easy solution...

I'm pretty rusty at using DOS command line stuff, but here's what it says when I attempt what you've suggested... (with a folder of images named - Test Caption Trick )

C:\Test Caption Trick> exiftool "-IPTC:Caption-Abstract
'exiftool' is not recognized as an internal or external command,
operable program or batch file.

So... what am I doing wrong? (I was hoping to have this work with your program - ExifTool GUI. No can do? Isn't the concept to be able to stay away from Command Line work?? - smile)

Thanks...
--
Rick
http://www.pbase.com/truelight

Truelight OP Senior Member • Posts: 2,854
BINGO!

I figured it out... I didn't have ExifTool copied into my Windows directory!

This does the trick. (Or at least is a workaround to the fact that Picasa wants to use Captions instead of Filenames when it uploads images to Picasaweb).

Now... Since almost --none-- of my Images on my entire harddrive are captioned and I'm not worried about overwriting orginal captions (as there aren't any), is there a way to globally run this command across the entire harddrive and through multiple folders and subfolders? Is there also a way to have the command NOT save an Orginal File, but simplly overwrite the original file? If I run it the was it is, I will need TWICE as much storage space for photos, yes?

Thanks again...!

-- hide signature --
hbx2004 Veteran Member • Posts: 3,162
Re: BINGO!

Truelight wrote:

I figured it out... I didn't have ExifTool copied into my Windows
directory!

I'm glad you've figured out

.. is there a way to globally run this command across
the entire harddrive and through multiple folders and subfolders?

Yes. Suppose all your images are inside C:\photos folder (which contains multiple subfolders):

exiftool "-IPTC:Caption-Abstract

-will change all files inside c:\photos (and subfolders). Please, tryout first! as I can't guarantee not making mistakes.

there also a way to have the command NOT save an Orginal File, but
simplly overwrite the original file?

Yes.

exiftool "-IPTC:Caption-Abstract
exiftool "-IPTC:Caption-Abstract

Should be a good idea to read exiftool documentation too

Greetings,
Bogdan
--
My pictures are my memories
http://freeweb.siol.net/hrastni3/

Truelight OP Senior Member • Posts: 2,854
Making it even simpler! - one more question though...

By writing your command line to a Batch file, (I named it Filename2Caption.bat) and then copying that .bat file into any folder where I have images) I can double-click the batch file and it will convert all the images in that folder.

Now if you'll tell me how to adapt the command line to just overwrite the orginals and NOT make a second copy I'll be a truely happy camper.

-- hide signature --
hbx2004 Veteran Member • Posts: 3,162
Re: Making it even simpler! - one more question though...

Truelight wrote:

By writing your command line to a Batch file, (I named it
Filename2Caption.bat) and then copying that .bat file into any folder
where I have images) I can double-click the batch file and it will
convert all the images in that folder.

...and you said you're not much familiar with DOS..

Now if you'll tell me how to adapt the command line to just overwrite
the orginals and NOT make a second copy I'll be a truely happy camper.

You've probably overseen my previous reply:

exiftool "-IPTC:Caption-Abstract

-when using "-overwrite_original" switch, no original files are preserved.

Bogdan
--
My pictures are my memories
http://freeweb.siol.net/hrastni3/

Mike G Lee
Mike G Lee Regular Member • Posts: 163
Re: Making it even simpler! A dedicated tool!

Rick,

Bogdan is just the man to answer questions like yours. He has been a great help to me too. I have made you a little tool dedicated to just what you're needing to do. Hopefully it will make things even easier! It is called FileName2IPTC and comes with a little installer and readme. It is very simple to use and makes the task easily accomplished from virtually anywhere your files are located.

Here it is: http://www.box.net/shared/khv6mqtnx1

Hopefully others can find it useful too.

Michael Lee
--
creator of the Lossless JPEG Toolbox
http://losslessjpegtoolbox.wordpress.com

Fotonut Veteran Member • Posts: 5,138
Re: Making it even simpler! A dedicated tool!

Hiya Mike G Lee,

Here it is: http://www.box.net/shared/khv6mqtnx1

The file is not available anymore.

Michael Lee
--
creator of the Lossless JPEG Toolbox
http://losslessjpegtoolbox.wordpress.com

Greets.
Fotonut.
--
Snap snap - click click.

FujiLinks - http://fujilinks.110mb.com/index.html (Main Site)
FujiLinks - http://fujilinks.fizz.me.uk/index.html (Mirror Site)

Eypioh New Member • Posts: 6
Re: Making it even simpler! A dedicated tool!

I need help on this topic!
for me it says the command "exiftool" cant be found
yes i renamed the exiftool(-k).exe to exiftool.exe

i need some help asap

(btw great that there is a way to do this kind of stuff it would really save me alot of time)

Eypioh New Member • Posts: 6
Re: Making it even simpler! A dedicated tool!

well...
bump?
thanks for any help
i guess its just a really stupid mistake which ive done.

the thing is i wrote it exactly like this:
exiftool "-IPTC:Caption-Abstract

but it just says the command exiftool cant be found.

info: i installed exiftool on c:\ but my pictures are on d:\
any problems with that?

hbx2004 Veteran Member • Posts: 3,162
Exiftool...

Hi,

Eypioh wrote:

...
but it just says the command exiftool cant be found.

Make sure exiftool.exe is in C:\Windows directory! In Win Explorer, select menu:
Tools> Folder Options -> select View tab

-there's "Hide exstension for known file types" entry, which must be unchecked .
Now, check Windows directory again and look after exiftool.exe

...
info: i installed exiftool on c:\ but my pictures are on d:\
any problems with that?

What do you mean by "installed"? Exiftool doesn't need to be installed.

Bogdan

Eypioh New Member • Posts: 6
Re: Exiftool...

i guess your my hero
i had it in c:\program files for now
i try it again when it is in the windows directory

Eypioh New Member • Posts: 6
Re: Exiftool...

srsly you saved me sooo much time it worked when i had done it in the windows directory
thank you for your help!

enjoy your day!

Keyboard shortcuts:
FForum MMy threads