Numbering of Files

There are several types of numbering files and folders: On the one hand, you can intentionally decide to number a series of files - for example the tracks of an audio album or the episodes of a series. On the other hand, automatic numbering may be necessary if more than one file or folder would otherwise get the same name, which would not be possible, since file names must be unique.

In this tutorial we look at both of these types of numbering and look at the possibilities and settings that the FileRenamer offers us in this context.

Numbering with the %num% Placeholder

If you want to intentionally number a series of files or folders, you can do this with the placeholder %num%. The placeholder %num% can be used in every text field of the FileRenamer (for example in the functions "Search and Replace", "Mask", "Append Text" or "Insert Text") and stands for a number that depends on the position of the file in the list. You can change the positions of the files in the list by sorting the files with clicking on a column header or with moving the files manually in the list.

In the menu of the FileRenamer under "Settings > Numbering" you can find some settings with which you can influence the %num% placeholder:

Other Placeholders for the Numbering

In addition to the %num% placeholder, the FileRenamer provides you with the following other placeholders for the numbering of files and folders:

In the overview over all placeholders of the FileRenamer, you can receive an overview of all other placeholders that you can use in the FileRenamer. In the section "Numbering" of this compilation, also the various %num% and %abs% placeholders are described.

Numbering of Same-Named Files

In addition to the intentional numbering by using the placeholder %num%, the FileRenamer can also lead to the situation that an automatic numbering of files or folders becomes necessary. Namely, if more than one files or folders would get the same name after applying the set changes and if those files or folders are additionally also stored in the same path. Since two files cannot have the same file path because file names have to be unique, the question arises in this case how the FileRenamer should deal with such a situation.

You can control this with the option "Number files for which the renaming would result in the same name", which you can find in the settings of the FileRenamer in the menu "Settings > Numbering > Same-Named Files".

Under this option, you will find a few more options with which you can control the numbering of the same named files, which of course are only used if the option "Number files for which the renaming would result in the same name" is activated:

Since the determination of the file name respectively the question of whether your current settings will lead to files of the same name depend on both all other files in the file list as well as on potential other files on your hard drive (for example because they are stored in the same directory as files from the file list, even if they have not been added to the file list), it can be a lot of work for the FileRenamer to create a preview for a file name.

For this reason, the FileRenamer offers you two options with which you can deactivate the preview regarding to two types of review:

However, the deactivation of one or both of these options can lead to the preview of a different number than the file will have later. This will always happen if a file of the same name is already existing on your hard disk or two or more files from your file list would lead to the same name with your settings.

The automatic numbering of same named files takes place regardless of the numbering with the placeholder %num%, which options were presented in the first section of this tutorial.