Batch Rename
From Forklift Wiki
Use the Batch Rename tool when you need to rename a large number of files at once, like saving pictures from your phone camera to your desktop.
The batch rename tool lets you:
- replace a string of characters in filenames
- add text to a specified position in filenames
- add metadata (file creation date, owner, etc) to a specified position in filenames
- generate a numbered sequence at a specified position in filenames
- change upper/lower case of caracters in filenames
You can add any number of extra operators to your renaming process by clicking the + sign.
To start renaming a bunch of files:
- Select the files you want to rename in the active pane
- Select Tools > Batch Rename... or click the toolbar icon
- The files you have selected appear in the lower part of the Batch Rename panel, with the controls at the top
- Choose the kind of rename operation you want, and set its parameters (see details below)
- You can see a preview of the would-be changes to check your parameters
- Add another operator if you want to
- When all looks good, click Rename. No changes are made to your files until you click here.
Contents |
[edit] Replace text
Use this operator to replace a specific string of characters in the existing filename with another string of characters. You have to set the following parameters:
- Apply to: chooses whether the replace operator should look for the original string of characters in the filenames only, or filenames including the file extension, or the extension only with or without the separator period.
- Replace: choose which occurence of the replace string should be replaced in the original filename, if there are several occurences.
- of: this is where you input the text you want to replace.
- with: this is where you input the string of characters with which you want to replace the first string.
- Case sensitive: to make the search for matching strings case sensitive.
[edit] Add text
Use this operator to add a specific string of characters to existing filenames. You have to set the following parameters:
- Apply to: chooses whether the operator should add text to the characters in the filenames only, or filenames including the file extension, or the extension only with or without the separator period.
- Add text: enter the text you want to add to the filenames.
- At position:
- Beginning: adds the text to the beginning of the filename
- End: adds the text to the end of the filenam
- Exact location: enter a number to set exatly at which position the added text sould be inserted.
- Before/After text: lets you input a string of characters after of before which you want the text to be added.
[edit] Add metadata
Use this operator to add file creation date, file modification date, file modification time, owner, and group metadata to the filenames. You have to set the following parameters:
- Apply to: chooses whether the add metadata operator should look for the insertion position in the filenames only, or filenames including the file extension, or the extension only with or without the separator period.
- Add: specify the metadata type to add to the filenames using the dropdown. Specify metadata format using the dropdown to the right.
- At position:
- Beginning: adds metadata to the beginning of the filenames
- End: adds metadata to the end of the filenames
- Exact location: enter a number to set exatly at which position the metadata sould be inserted.
- Before/After text: lets you input a string of characters after of before which you want the metadata to be added.
[edit] Generate sequence
Use this operator to add numbering to filenames. You have to set the following parameters:
- Apply to: chooses whether the operator should position the inserted numbers in the filenames only, or the filenames including the file extension, or the extension only with or without the separator period.
- Start with: enter the first number of the sequence
- Step value: set the increments by which numbering will increase
- Order: select the ordering criteria depending on which the files will be ordered for numbering.
- Descending: check this for numbering files in a descending order
- Padding: set the padding range for the numbering (entering 3 will get numbering: 001, 002, 003, etc)
- At position:
- Beginning: adds metadata to the beginning of the filenames
- End: adds metadata to the end of the filenames
- Exact location: enter a number to set exatly at which position the metadata sould be inserted.
- Before/After text: lets you input a string of characters after of before which you want the metadata to be added.
- Prefix: input a string of characters that will be inserted before each number in the generated sequence
- Suffix: input a string of characters that will be inserted after each number in the generated sequence
[edit] Change case
Select this operator to change upper and lower case characters in your filenames.
- Apply to: chooses whether the add metadata operator should look for the insertion position in the filenames only, or filenames including the file extension, or the extension only with or without the separator period.
- Change to:
- Lower case: changes upper case characters to lower case
- Upper case: changes lower case characters to upper case
- Title Case: Changes Each Character following a [space] character to upper case, as in headlines.
