I’m looking for a pre-existing script that will do or can be modified easily to copy the custom Mavericks tags from a set of files in a folder of jpgs to another folder of PDFs with identical base names.
I have found out that my recently batch conversion of some JPGs to PDFs has removed all the custom tags.
One folder would have files like this:
pg1.jpg → custom Mavericks file tag Bear
pg2.jpg → custom Mavericks file tag Lion
pg3.jpg → custom Mavericks file tag Tiger
The converted folder has files like this:
pg1.pdf → No tag
pg2.pdf → No tag
pg3.pdf → No tag
I have used appleScript in the distant past, but at this point it would be quicker for me to re-enter about 300 custom tags than to relearn the scripting from the beginning.
If anybody knows of a script that is at least half-way there, I might be able to get the rest of the way. I’ve seen something like attr/attx? used in scripts for setting the custom tag. I assume the tags and the base file name would be read into an array using a loop with the number of files in the folder and then copied to the attributes of the identical base name of the second folder.
Thank you