CompaToon
Trace: • Installation • AddFile • Problèmes connus et solutions • Rename

Rename

In short: renames files in batch with a regular expression.

Software –
Category Tools
Input Files of a folder (or of its subfolders)
Output Renamed files, in place or in Output Folder
First time? Follow the My first Job tutorial.

Parameters

Parameter Role Example
regSrc Regular expression with groups in brackets ^test-(.*)\.(.{3})$
outputName New name; $1, $2… reuse the groups $1-$2.mov
Output Folder Empty = rename in place; otherwise, destination folder
Input Mode Recurs Folder to also process subfolders (then Refresh)
Test Mode Simulates the renaming without changing anything

Examples

Need Original name Result regSrc outputName
Add a prefix test-Fichier.ext ren-test-Fichier.ext (.*) ren-$1
Remove a prefix test-Fichier.ext Fichier.ext (.*)-(.*) $2
Change the extension test-Fichier.ext test-Fichier.mov (.*)\.ext $1.mov
Reorder test-Fichier.ext Fichier-ext.mov test-(.*)\.(.{3}) $1-$2.mov
Real case ZUK101_BG_002_BGC_V01.jpg ZUK101_LAY_002_BGL_V01.jpg (.*)_BG_(.*)_BGC_(.*$) $1_LAY_$2_BGL_$3
  • Rename deletes the source file. To keep the originals, chain a Copy task first.
  • The destination file must not already exist.
  • Always use Test Mode before the real renaming.

See also

  • Regular expressions
  • HyperCrop
Previous Next

Site Tools

  • Media Manager
  • Sitemap

Page Tools

  • Export to PDF
  • Fold/unfold all
  • Back to top

User Tools

  • Log In
en/compatoon/manuals/toonbox/v2/taches/rename.txt · Last modified: 2026/12/02 12:57 by twinstef
CompaToon

Table of Contents

Table of Contents

  • Rename
    • Parameters
    • Examples
    • See also

Translations of this page:
  • fr
  • en

ToonBox

  • Documentation home

Getting started

  • Installation
  • Jobs and Tasks
  • The interface
  • First Job
  • Configure the software
  • Videos

I want to…

  • Create the scenes
  • Prepare the backgrounds
  • Export for compositing
  • Generate movies
  • Make a rough cut
  • Modify scenes
  • Tracker (Kitsu / ShotGrid)
  • Manage files

Reference

  • All tasks
  • % Variables
  • HyperCrop
  • Regular expressions
  • BDL format
  • Matching Table
  • Libraries
  • Action table
  • FFmpeg
  • Glossary

Help

  • Known issues
  • FAQ
  • What's new
  • Production cases

Other tools

  • ToonBox AE Plugin
  • ToonBrowser
  • ToonExpo