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 |
| 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 |
| 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 |