Rename via incremental numbering, but with reset condition?

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Is there a way for renaming to happen incrementally, but reset the numbering on some condition/parameter?

More specifically, I'm adding files to a folder with a date rename pattern: 2017-08-19 – My first file.txt
I'd like to name these files by creation time, but I think it would be ugly to do: 2017-08-19, 12.28 – My first file.txt

Instead I would like something like: 2017-08-19_1 – My first file.txt, 2017-08-19_2 – My second file.txt, etc

I know theres a # (incremental numbering) function in the Rename module, but I don't see a way of resetting the numbering conditionally. The closest thing seems to be to always seek the lowest possible integer.

In this case, I would obviously like to reset the numbering for every new date: 2017-08-20_1 – My third file.txt.
bonn
 
Posts: 12
Joined: Sun Oct 16, 2016 5:18 am

There's no way to automatically reset the counter currently. Instead, you can put the files in their own dated folder. The counter is specific to a folder so each folder would have it's own sequence.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support