Renumber

From Wikanual

Jump to: navigation, search

Contents

Renumber / Add number to files / folders

INTERDUBS can add a number in front of all files or folders inside of given folder.

You find the

 renumber


function inside of the


 edit folder


screen.

Number formats

Under number format you can specify the format of the number. For instance

%d

would yield numbers like

1 first file
2 second file
3 third file
...

while

%02d 

would have a 2 numbers with a leading zero:

01 first file
02 second file 
03 third file
...


You can also add other character or field. They will be used literally

%d.

would create

1. first file
2. second file
3. third file
...


Please note that the number format has a space in the end in all these examples.


Start number

The renumbering starts with a given number. Usually 1.


Step

Usually each file gets the next higher number. You can however change the stepping of the file numbers by changing this value.


old / previous numbers

If you renumber a series of files and folders then INTERDUBS will first remove all leading numbers from the lines. It takes out all spaces, numbers and . that it can find. For those people who speak regex here is how this looks:

^\s*[0-9\.]+\s*
Personal tools