My first Job
Goal: rename a series of images in one go, without risking your files.
Time: 10 minutes. Prerequisites: no external software.
| Before | After |
|---|---|
Ep001_S001.png | Ep001_BG_S001.png |
Ep001_S002.png | Ep001_BG_S002.png |
Ep001_S003.png | Ep001_BG_S003.png |
1. Prepare a test folder
- Create a
ToonBox_Testfolder on your Desktop. - Copy a few images into it, or create empty files named
Ep001_S001.png,Ep001_S002.png,Ep001_S003.png.
The Rename task renames files in place: the original names are lost. Always work on a copy the first time.
2. Add the Rename Task
- Click New.
- Choose the Rename task (Tools family).
- In Input Folder, select the
ToonBox_Testfolder. - Leave Output Folder empty: files are renamed in place.
You can also ask the AI assistant: “I want to rename files Ep001_S001.png to Ep001_BG_S001.png”.
3. Describe the renaming
Renaming uses a regular expression: the old name is split into pieces in brackets, which are then reassembled.
| Field | Value to enter | Meaning |
|---|---|---|
| regSrc | (Ep\d+)_(S\d+)\.png | Piece 1 = Ep001, piece 2 = S001 |
| outputName | $1_BG_$2.png | Piece 1, then _BG_, then piece 2 |
In regSrc,
➡ More examples: Regular expressions
\d+ means “one or more digits” and \. a dot. $1 and $2 reuse the pieces in brackets.➡ More examples: Regular expressions
4. Test before running
- Enable Test Mode: ToonBox simulates the renaming without changing anything.
- Click Start.
- Read the Log to check the names that would be produced.
If a name is not what you expect, fix regSrc or outputName, then run the test again.
5. Run it for real
- Disable Test Mode.
- Click Start.
- Open the
ToonBox_Testfolder: the files are renamed.
Troubleshooting
| Symptom | Likely cause |
|---|---|
| No file is processed | regSrc matches no name. Check upper/lower case and the extension. |
| A file is not renamed | A file already has the target name: Rename never replaces an existing file. |
| Subfolders are not processed | Set Input Mode to Recurs Folder, then click Refresh. |
You've got the principle
All Tasks follow the same pattern: an input → parameters → a test → Start → the Log.
To go further:
- Configure Photoshop, Animate, After Effects before using their Tasks