Need Help with Batch Renaming: Renaming Files in a Decreasing Sequence

Advanced Renamer forum
#1 : 23/08-23 23:33
alidinouri
alidinouri
Posts: 1
Hello everyone,

I hope you're all doing well. I have a question regarding batch renaming using Advanced Renamer, and I was hoping someone here could provide some guidance.

Here's what I'm trying to achieve:

I have a folder with a variable number of files. Let's call the total number of files "n." I want to rename these files in a decreasing sequence, starting from "n," and decrementing by 2 for each subsequent file until reaching 2. For example, if there are 200 files, I want them to be renamed as follows: 200, 198, 196, ..., 4, 2.

I've been trying to figure out how to set this up in Advanced Renamer, but I'm having some trouble with the pattern syntax. I'm aware that the software provides the <Inc Nr> tag, but I'm unsure how to automatically calculate the total number of files and use it in the pattern.

Could anyone kindly guide me on how to set up this renaming sequence using Advanced Renamer? Specifically, how can I create a pattern that starts from the total number of files and decrements by 2 for each file until reaching 2?

Any help would be greatly appreciated. Thank you in advance for your assistance!

Best regards,
ALi


23/08-23 23:33
#2 : 25/08-23 08:27
Kim Jensen
Kim Jensen
Administrator
Posts: 883
Reply to #1:
You can use <Dec Nr:200:2> to add a decrementing number starting from 200. You have to insert the number 200 manually. The software cannot automatically calculate where to start.


25/08-23 08:27