Applescript help
Hi all,
I'm looking for a script that would do the following (already tried withAutomator, but in vain):
I start with a folder (including subfolders & files), some of them having names ending with "_cc"
I need to create a specific number of copies of this folder, including subfolders and files, each one of them having the "_cc" replaced by another string.
example: i start with the folder Whatever_cc, and i want to obtain Whatever_aa, Whatever_dr, Whatever_gt, etc...
The replacement strings I need to use are: _cs, _da, _de, _es, _fr, _fi, etc... (I have a finite list of those)
Any idea how to do that with Applescript? I managed to create a workflow to do one copy (even though it was surprisingly difficult to ensure that folder names and file names were modified correctly, i had to use 3 different Change name actions), but can't find a way create the multiples copies and apply the rename actions correctly, either by using a loop and variables or sequential duplicate+renames.
Any help/advice appreciated,
Thanks in advance,
MacBook Pro, OS X Yosemite (10.10.3)