A
A
akokin2020-06-26 10:13:38
Regular Expressions
akokin, 2020-06-26 10:13:38

How to renumber the list of files like "01. text..." to "001. text..."?

Hello.
There is a list of files numbered sequentially "01. text ..." and up to "90. text".
It is necessary to renumber these files so that the numbering has 3 digits, like this: "" 001. text..." etc.
How do I do this? I
'm using total commander.
Thank you.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
akokin, 2020-06-26
@akokin

Here, I found a solution for the TS (in the "Mask for: file name" field):
[C1+1:3][N3-]

E
Edward, 2020-06-26
@IS-Builder

/([^\n]+)/
And in the replacement string:0\1

A
Andrey Ermachenok, 2020-06-26
@eapeap

Make a temporary folder, let's say your files are on the left, an empty temporary folder is open on the right.
Select everything on the left - F5 - replace *.* with 0*.* - Enter!
Checked, "shoots"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question