rename adding sequential number

General discussion related to "Everything".
Post Reply
rmerchant
Posts: 3
Joined: Thu Sep 22, 2016 10:48 pm

rename adding sequential number

Post by rmerchant » Thu May 13, 2021 5:59 pm

Seems like a simple question that must have been asked before but I can't find it.

I want to rename a pile of files to a name with a sequential number added. These are a whole pile of monthy PDF statements - they should all have the same name rather than a one I've dreamed up multiple times over the years.

Can that be done?

therube
Posts: 2944
Joined: Thu Sep 03, 2009 6:48 pm

Re: rename adding sequential number

Post by therube » Thu May 13, 2021 6:34 pm

(I'm looking at the Everything 1.5 alpha version. IOW I'm not certain that the 1.4 version has the same feature, but take a look.)


(Multi-file) Rename (Shift+F2)
Uncheck 'Regular expressions'

New format:, in the selection box, #number:, will give you a sequential number.

---

Experiment, test - first, so you understand what is going to happen & that you're comfortable with the way it works.

NotNull
Posts: 3074
Joined: Wed May 24, 2017 9:22 pm

Re: rename adding sequential number

Post by NotNull » Thu May 13, 2021 7:12 pm

A bit more background/detail:

That #number: is a feature of Everything.1.5, not available in version 1.4.

Example, with added (number) where number has 3 digits:

Code: Select all

Old Format:  %1.test
New Format: %1 (#text:<#number:,000>).test
For more optioms, press the little triangles on the right


2021-05-13 21_08_39-Window.png
2021-05-13 21_08_39-Window.png (12.31 KiB) Viewed 4190 times

rmerchant
Posts: 3
Joined: Thu Sep 22, 2016 10:48 pm

Re: rename adding sequential number

Post by rmerchant » Fri May 14, 2021 1:26 am

What am I missing?
I copy everyhting (except put in a new name) and I get the result in the scrrenshot: the #number is not replaced by a number....

And I don't have an option for v1.5: the one I have is 1.4.1.1005 and I don't see a newer one on the website...

-
Screen Shot 05-13-21 at 06.19 PM.PNG
Screen Shot 05-13-21 at 06.19 PM.PNG (27.14 KiB) Viewed 4179 times

void
Site Admin
Posts: 6931
Joined: Fri Oct 16, 2009 11:31 pm

Re: rename adding sequential number

Post by void » Fri May 14, 2021 1:43 am

Everything 1.5 alpha

Click the ▸ button to the right of New Format to find preprocessor syntax help.

rmerchant
Posts: 3
Joined: Thu Sep 22, 2016 10:48 pm

Re: rename adding sequential number

Post by rmerchant » Fri May 14, 2021 1:57 am

OK. I downloaded the 1.5 alpha and now the renumbering algorithm appears to work.

However the .pdf was changed into something very interesting: BMA Telus invoice(122).p4294967295f - despite the file command not showing that odd renaming...

Redoing the naming operation with those oddly names individuals selected and choosing a pdf extension then worked. ? feature or ? bug.

I have to say the arrowhead did not lead me to understanding the syntax - I just copied from the examples provided, I'm afraid...

Thanks Richard

I'll keep trying onwards with 1.5 alpha. I am up for an adventure.

void
Site Admin
Posts: 6931
Joined: Fri Oct 16, 2009 11:31 pm

Re: rename adding sequential number

Post by void » Fri May 14, 2021 2:28 am

Renaming can be undone from Edit -> Undo.

It might be a bug. I will investigate..
It can be caused by the missing > from your screenshot.

I will add some preprocessor examples to help with understanding the syntax.

Post Reply