0

I have a lot of otf-files that got accidentally renamed to unusable names.

Fortunately, if I click cmd+i on Mac, they still have their original name saved as "full name" in some font-meta-tag.

How can I rename them via batch like shell, terminal or automator to their original name?

I guess, I could use the find command to search for otf-files and then rename the found files:

find ~/Desktop/fonts -type d -name "otf" -exec mv {} ???

But what should I insert at ??? where the new name needs to be?

You must log in to answer this question.

Browse other questions tagged .