Page 1 of 1

Add Prefix/Suffix in Batch Rename Function

Posted: Sat Apr 12, 2008 7:40 pm
by Mike Truly
I would like to have an 'Add Prefix/Suffix' function in the Batch Rename tool.

Let's say I have a bunch of files that I want to keep the names but add a prefix to all:

picture_A_0001.jpg
picture_A_0002.jpg
dog_0001.jpg
dog_0002.jpg
bird_0001.jpg
bird_0002.jpg
cat_0001.jpg
cat_0002.jpg

I want them to add a prefix so they are renamed to be:

big_picture_A_0001.jpg
big_picture_A_0002.jpg
big_dog_0001.jpg
big_dog_0002.jpg
big_bird_0001.jpg
big_bird_0002.jpg
big_cat_0001.jpg
big_cat_0002.jpg

I would like to do this in one easy step. The best way would be to have an 'Add Prefix/Suffix' function where the user just activates the Prefix/Suffix function and types in the desired words and then checks either the Prefix or Suffix box and this is added to the existing names.

I could not find a way to make the 'Name Template' function do this easily but maybe I am missing the secret command that keeps the existing name and adds the new characters to the beginning or end.

Thanks!

It is possible

Posted: Sun Apr 13, 2008 3:07 am
by marsh
The "Insert>>" button will present a list of commands like <filename>.

Just type anything on either side of <filename>
Ex:
[x]Name Template
[added_<filename>_added]
green.jpg ==> added_green_added.jpg

Posted: Sun Apr 13, 2008 1:21 pm
by Mike Truly
Thank you very much for this. The helpfile was no help when searching for 'rename' and trying to find these mystery functions. Perhaps the helpfile needs to be improved a bit.

Thanks again... I'll give this a try.