Table of Contents

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

  1. Create a ToonBox_Test folder on your Desktop.
  2. 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

  1. Click New.
  2. Choose the Rename task (Tools family).
  3. In Input Folder, select the ToonBox_Test folder.
  4. 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, \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

  1. Enable Test Mode: ToonBox simulates the renaming without changing anything.
  2. Click Start.
  3. 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

  1. Disable Test Mode.
  2. Click Start.
  3. Open the ToonBox_Test folder: 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: