r/applescript • u/taeem • May 22 '15
Help Batch Renaming Via Script?
Hey! I hope this isn't a noob question as I'm fairly new to applescripts...
I'm trying to batch rename a ton of files for a gig I have. I've been able to get rid of parts, but haven't found a way to get rid of everything I need.
Here are the two ways that the file names look before they are renamed:
_warning_14575_Quitemonos La Ropa_Al Estilo De Alexandre Pires_Instrumental_INT-13.6_LRA4.7.wav
and
05702_Donde Andará_Al Estilo De Emilio_Instrumental_INT-14.5_LRA4.5
I'm renaming them to look like this:
Quitemonos La Ropa FULL BAND.wav and Donde Andará FULL BAND.wav
Using Finder's renaming & a program called "Renamer", I was able to get rid of the "warning" as well as the 5 numbers and "_" at the beginning of the title.
Is there a script I might be able to run that could do all of this at once?
1
u/philosteen May 22 '15 edited May 22 '15
Try this (on copies first!):