Add Prefix/Suffix in Batch Rename Function

Ideas for improvements and requests for new features in XnView Classic

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
Mike Truly
Posts: 63
Joined: Sun Feb 18, 2007 6:39 pm
Location: Crested Butte, CO
Contact:

Add Prefix/Suffix in Batch Rename Function

Post 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!
Sincerely,

Mike Truly
----------------------------------------------------------------
Truly Media
http://www.trulymedia.com
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

It is possible

Post 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
User avatar
Mike Truly
Posts: 63
Joined: Sun Feb 18, 2007 6:39 pm
Location: Crested Butte, CO
Contact:

Post 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.
Sincerely,

Mike Truly
----------------------------------------------------------------
Truly Media
http://www.trulymedia.com
Post Reply