I often have to rename lots of files - e.g. append stuff to the file name (before the file-ending). E.g. mywords.txt -> mywords_addedtext.txt
So I'm trying to make an OSX-service, that enables the following work-flow:
1) I select a bunch of files in Finder:
mywordsA.txt
mywordsB.txt
mywordsC.txt
2) I start my service "MyFilenameAppender"
3) An input-box appears: What do you what to append?
4) I type in something, e.g. _addedtest
5) The files are renamed:
mywordsA_addedtest.txt
mywordsB_addedtest.txt
mywordsC_addedtest.txt
(the files aren't moved or copied)
I've tried the following steps in Automator:
a) "Choose a type for your document." -> Service
b) Service receives selected: "files or folders" in "Finder"
c) "Ask for Text" action
d) "Set Value of Variable" -> the text from c) set to a "textToBeAdded"-var
e) "Rename Finder Items" -> "Add Text" -> append the "textToBeAdded"-var
But the "Rename Finder Items" doesn't seem to get the text.
Can anyone please help me? This would be very useful to me! :-)