Custom number patterns

Advanced Renamer forum
#1 : 21/06-12 09:32
Ian
Ian
Posts: 8
Hello, I'm new to advance renamer, and I was wondering how you would go about adding a couple of custom incrementing number patterns. My goal is to take a folder of images I took for doing hdri panoramic photography and rename them to a base prefix and add two incrementing suffixes.

For example, I would like to rename 9 images from -

IMG_0001
IMG_0002
IMG_0003
IMG_0004
IMG_0005
IMG_0006
IMG_0007
IMG_0008
IMG_0009

to -

Image_View01_E01
Image_View01_E02
Image_View01_E03
Image_View02_E01
Image_View02_E02
Image_View02_E03
Image_View03_E01
Image_View03_E02
Image_View03_E03

So the files would be using Image_View + an increment pattern starting with 01,01,01 + _E + a repetitive pattern of 01,02,03. Is this even possible? Hopefully I made my goal clear enough. Thanks in advance!


21/06-12 09:32 - edited 21/06-12 09:33
#2 : 22/06-12 08:16
Kim Jensen
Kim Jensen
Administrator
Posts: 870
Reply to #1:
I don't think you can set up a renaming rule that will do that. The problem is that you want to group the files with two incrementing numbers. That is not possible with the current setup. New methods which can apply rules like this might get added at some point.


22/06-12 08:16
#3 : 25/06-12 10:54
Ian
Ian
Posts: 8
Reply to #2: Hey thanks for the reply. Its unfortunate that you can't do that right now. I tried looking into other renaming tools for this, like the advanced renamer from Filemenu Tools, and I couldn't find anything that would do this at all. If you do add this feature, that would be really nice.

For the meantime, I've been using the handy list feature to import text to rename the target files, which is quicker than manually renaming them. Do you have any examples of using the command line with the list feature?



25/06-12 10:54
#4 : 25/06-12 18:59
Kim Jensen
Kim Jensen
Administrator
Posts: 870
Reply to #3:
Your case is a very special case. That might be why no other renamers support this feature. It is not that it is impossible to implement, but it is difficult to design in a way generic enough for other people to use it too.

I always tell people that the command line tool can do all the same things the graphical user interface can do. But now as you mention it I remember that the List method is the exception of this rule. I must do something about that soon.

The next version will also include a scripting facility supporting JavaScript. It is mostly usable for programmers but it will also let me write a small script you can use with the program in the special cases like yours. This way I can still help solve the problem without the need for a software upgrade and without adding a feature only needed by one or two people.


25/06-12 18:59 - edited 25/06-12 19:00