Batch renaming is a form of batch processing used to rename multiple computer files and folders in an automated fashion, in order to save time and reduce the amount of work involved. Some sort of software is required to do this. Such software can be more or less advanced, but most have the same basic functions.
Batch renaming can also be referred to as 'mass file renaming', rename 'en masse' and 'bulk renaming'.
Most batch renamers share a basic set of functions to manipulate the filenames:
Some batch rename software can do more than just renaming filenames. Features include changing the dates of files and changing the file attributes (such as the write protected attribute).
There are many situations where batch renaming software can be useful. Here is a list of some common uses:
There are a few problems to take in consideration when renaming a file list.<br /> (â means: renamed to)
<blockquote> file01 â file02 (file02 already exists in file-system) </blockquote>
<blockquote> file01 â file03<br /> file02 â file03 (file03 is already used) </blockquote>
<blockquote> <span style="color:red;">file01</span> â <span style="color:blue;">file02</span> (file02 already exists in file-system)<br /> <span style="color:blue;">file02</span> â <span style="color:green;">file03</span> (file03 already exists in file-system)<br /> <span style="color:green;">file03</span> â <span style="color:red;">file01</span> (file01 already exists in file-system)<br /> </blockquote>
Two-pass renaming uses a temporary filename (that doesn't exist in file-system) as shown below.<br /> (â means: renamed to)
<blockquote> file01 â file01_AAAAA<br /> file02 â file02_AAAAB<br /> file03 â file03_AAAAC<br /> </blockquote>
<blockquote> file01_AAAAA â file02<br /> file02_AAAAB â file03<br /> file03_AAAAC â file01<br /> </blockquote>
It solves the cycle renaming problem.
If this approach is to be used care should be taken not to exceed any filename length limits during the rename, and also that the temporary names do not clash with any existing files.
This is a list of notable batch renaming programs in the form of a comparison table.