A
Anonymous
July 19, 2010
Question
Copy filename to iptc description with changes
- July 19, 2010
- 1 reply
- 672 views
Hello,
I'm looking for a script for copying the filename of a tiff to the description in that same file's iptc, with a couple of contextual changes to the name.
Those changes are:
replace any = with :
replace any * with /
add the prefix "CMS:"
So here's an example:
input
filename: 87*37=6.tif
description:
output
filename: 87*37=6.tif
description: CMS:87/37:6
I had a script that did some of these things for a while, but it was quite slow and I don't know how to rewrite it.
Thank you in advance for any help,
Lewis
