Efficient Forged Atomic Parallel

SynQaiOrganizer manual Batch renaming
Contents

Batch renaming

The renaming kit (“✏ Rename — Building Blocks”) renames many files at once — following a pattern you assemble from building blocks by drag & drop. A live preview shows “Before” and “After” at all times, so you see the result before you apply it.

7.1 Opening the kit

The kit opens in four ways: from the file organiser (chapter 9, steps below), from the file tree via right-click → ✏️ Rename… → ✏ Batch rename… (sections 6.2 and 7.9), from the image comparison via the ✏ icon in the action row (section 10.6; a RAW+JPG pair gets the same new name) and automatically after merging photo series (section 10.8). This is how you open it from the file organiser:

  1. Open the file organiser and choose a category so that its files appear in the detail view.
  2. Tick the files you want to rename. When freshly opened, all are ticked; the select-all checkbox and the Space key narrow that down quickly (chapter 9.2).
  3. Click ✏ Rename — the kit opens with the ticked files.
ℹ️ Only ticked files arrive
From the organiser the kit takes exactly the ticked files — the same selection that 🗑 Delete works on. If nothing is ticked it does not open, and the status line reports that no files are ticked.
ℹ️ It also opens by itself
If name clashes occur while merging photo series (section 10.8), SynQaiOrganizer opens the kit automatically with the affected files so that you can assign unique names. The status line then reads “⚠ N name conflicts from copying — the copies carry a counter for now; build unique names with blocks”.
Screenshot 33: The renaming kit — overall view: title bar with “↶ Undo”, the “BLOCKS” palette, name ribbon, assembly field with a chain, settings on the right, and the preview with the footer
Fig. 33 — The renaming kit — overall view: title bar with “↶ Undo”, the “BLOCKS” palette, name ribbon, assembly field with a chain, settings on the right, and the preview with the footer

7.2 Layout of the window

From top to bottom the window consists of these areas:

AreaPurpose
Title barTitle “✏ Rename — Building Blocks”, ↶ Undo (with the number of steps that can be taken back) for changes to the blocks (up to 100 steps; redo with Ctrl+Y), buttons to maximise and close
Palette “BLOCKS”Stock of available blocks; the tooltip says “Drag & drop into the building-block area”
Name ribbonShows the new name of the example file (the marked row of the preview, otherwise the first file); each part is underlined in the colour of its block
Assembly fieldYour assembled name chain (when empty it reads “Drag blocks here to assemble your rename pattern”); below it are the hints “Drag = move”, “Drag out = remove”, Esc “= cancel”, Alt ← → “= shift” and Ctrl Z “= undo”
Settings (right)Options of the block currently clicked; with no selection the area shows the preset management (7.7) once a preset has been saved, otherwise “Click a block in the left field to see its settings.”; a click into the empty part of the area clears the selection
PreviewResult per file: Before, After and Note, with the tabs Files and Folders (7.9), the toggles and buttons above it
FooterProgress, status line, ↩ Undo, ✕ Close and ✏ Rename

The dividers between the field and the settings and between the workbench and the preview can be dragged with the mouse; the window can be maximised. While the files are loading and during a renaming, the palette, field, settings and preview are locked.

7.3 Assembling blocks

  1. Drag a block from the palette into the assembly field by drag & drop.
  2. Change the order: drag the block to a new position within the field.
  3. Open the settings: click the block — its options appear on the right.
  4. Remove: use the small ✕ on the block (shown on hover and on the chosen block), press Del or Backspace with a block chosen, or drag the block out of the field (the delete zone reads “Release to remove”).

Several blocks at once: Ctrl+click adds a block to the selection or removes it; dragging in the empty area of the field draws a rubber band around blocks (with Ctrl the existing selection stays). Del or Backspace removes the chosen blocks, Alt+←/→ moves them by one place, Ctrl+C and Ctrl+V copy them and insert copies after the selection. Ctrl+Z takes back the last change to the blocks, Ctrl+Y restores it — as does ↶ Undo in the title bar. The ↩ Undo at the bottom, by contrast, reverses a completed renaming (7.8). With at least two blocks chosen, the settings area offers to save them as a preset (7.7). A click into the empty part of the field clears the selection. The shortcuts do not apply while the cursor is in an input field (Ctrl+C/V also not with the focus in the preview). Changes within 300 ms are bundled into one step; up to 100 steps are kept; switching between files and folders starts the history afresh.

Clear field above the preview discards the whole chain. Toggle all next to it does not concern the blocks but the ticks of the files in the preview (7.6).

If a block adds nothing to the name — an empty Free Text, an empty Separator or a Theme Group without a group — an orange warning mark ! sits on its corner (tooltip “This block adds nothing to the name.”).

Screenshot 34: Block palette and assembly field with an assembled chain of blocks
Fig. 34 — Block palette and assembly field with an assembled chain of blocks

7.4 The blocks at a glance

BlockInserts…
Namethe original file name (with case, trimming and exclusion options)
Extensionthe file extension
Datea date in a chosen format from a chosen source
Countera sequential number
Theme Groupa thematic term from templates (for example Office → “Invoice”)
Separatora separator between blocks
Free Textany fixed text
Preseta saved, ready-made chain of blocks (see 7.7); this block only appears in the palette once a preset has been saved

If you rename folders instead of files (7.9), you additionally get Parent folder, File count, Series name and Series no.; the extension block is not offered there.

7.5 Block settings

Depending on the block, different options appear on the right. The most important ones:

BlockSettings
NameCase: (Original · UPPERCASE · lowercase · Capitalize Words) · Trim: (remove 0 to 50 characters each from the Start or End of the name — by mouse wheel or dragging) · Exclude: (a typed character string is removed from the name as a whole, after trimming; mode All = every occurrence, Front = the first from the left, Back = the last)
Extensionthe extension: (Original) or another one from the list or typed in (a leading dot is ignored); it acts as part of the name, and the original extension stays attached at the end as long as File extensions is switched on (see below)
DateFormat: (from the list or typed in yourself, for example yyyy-MM-dd, dd.MM.yyyy, yyyyMMdd, yyyy-MM-dd_HH-mm, yyyy_MM, yyyy, dd-MMM-yyyy; an invalid format falls back to yyyy-MM-dd) · Source: Modified date, Created date, Today or Custom date (then the Date: field)
CounterStart:, Step:, Digits: and Pad with zeros — default: start 1, step 1, 3 digits, zeros on; start 0 to 99999, step 1 to 100, digits 1 to 10
Theme GroupGroup: (Office, Audio, Video, Images, Music, Development, Archive, E-Book, Data, Design, Other) and a matching Variant: (without a variant the group name goes into the name, without a group nothing)
Separatorthe Character: (buttons for - _ . ␣ # ~ @ + = &; ␣ stands for a space) or Custom: (any text); the default is -
Free Textthe Text: to insert (the field gets the cursor at once; Enter applies it straight away, otherwise after a short typing pause)
all blocks except PresetRepeat: 1 to 5 — the block is inserted that many times in a row (“× applied to result”); a counter repeats the same value, for example 001001, and does not count on

Above the preview there are toggles: File extensions (files only, on by default) appends the original extension to the new name automatically. Switched off, the name comes from the blocks alone and you decide the extension yourself (block Extension). Counter per folder makes the counter start at its start value again in every source folder instead of running through the whole selection — see section 7.6 for more. In folder mode Group series is added (7.9). The Case choice exists besides Name for Extension, Free Text, Theme Group, Series name and Parent folder. Every setting takes effect in the preview and the name ribbon immediately; if a block has no effect on the name, its settings read “This block adds nothing to the name.”, and above that “Example” shows the example file and what the block makes of it.

Screenshot 35: Block settings on the right (example “Counter” with start/step/digits) and the live preview
Fig. 35 — Block settings on the right (example “Counter” with start/step/digits) and the live preview

7.6 Preview and conflicts

The preview has three columns: Before, After and Note; every row starts with a tick. A double-click on a row shows the file in Explorer. While the chain is empty, the status line reads “Add blocks to see a preview”. SynQaiOrganizer marks problematic names clearly:

Three small symbols sit in the header of the list: ⇅ above the ticks clears the marking of the rows, ⇔ next to it fits the column widths to the contents, and ⊘ in the Note column clears only the active (orange) row; ticks are left untouched. On opening, the status line reads “Loading files…”; from 500 files on, the program rebuilds the preview in the background after every change (“Rebuilding the preview…”).

  • ⚠ Duplicate target name — two files would get the same name
  • ⚠ Target already exists — the target name is taken by a file that stays
  • ⚠ Empty name — no name would be left
  • Invalid characters → _ — characters that are not allowed are replaced by “_”; this is a note, not a conflict, and blocks nothing

Only the ticked rows are checked, and per target folder: the same name in two different folders is not a conflict, and upper and lower case do not matter. If a RAW file belongs to a row (a RAW+JPG pair from the image comparison), it gets the same new name; if its target name meets another file there, that blocks the row like a conflict of its own.

ℹ️ Files from several folders
If your selection comes from different folders, two rows with the same file name can easily end up beneath one another — Variante_01.jpg twice, say. Those are two different files, but it looks like a display error. The preview therefore shows the origin: before the first file of each folder there is a folder row of its own with a small yellow folder symbol, the name and the number of files — one step further left than the files below it. If everything comes from a single folder, the list stays quiet; there is nothing to tell apart then. Two folders with the same name from different parent directories are shown with the parent in front (Client1\Raw instead of just Raw).
💡 Whole folders with one click
The tick in the folder row switches all files of that folder on or off at once — handy when only one folder out of a large selection is to be renamed. If only some of the folder’s files are ticked, it shows a bar instead of a check mark; clicking it then selects the whole folder. A click on the folder row next to the tick collapses the folder — the header stays with its name and file count, and the next click brings the files back. The two small arrows in the Before column header expand or collapse all folders at once; so that they are within reach at the end of a long list too, they appear once more at the bottom right of the list (both only when the selection comes from several folders). This affects the view only: ticks, counter and the renaming itself go on working with all files, including the ones currently hidden. The folder row cannot be moved — it is not a file but is created afresh from the current order on every rebuild. Drag a file onto its own folder row and it lands directly beneath it, that is, at the start of that folder block.
💡 Counter: continuous or per folder
By default it counts once across the entire selection. With two folders of ten images each, the first image of the second folder therefore gets 11, not 1 again — exactly what a continuous counter does. If instead every folder should start at the start value again, tick Counter per folder above the preview: the two blocks of ten then become 1–10 twice. The toggle takes effect in the preview immediately. What counts is the source folder, not the display block — if the same folder appears several times in the list after rows have been moved, it carries on counting across the interruption. Otherwise two of its files would end up with the same number.
ℹ️ Renumbering is not a conflict
If the occupied target name belongs to a file that is itself renamed in the same pass, SynQaiOrganizer reports nothing — after all, it vacates the spot. This lets the most common case of all go through smoothly: renumbering a series completely. If your files are called _02, _05, _09, _14 and are to become an unbroken _01, _02, _03, _04, then _02 is indeed taken — but by a file that moves on itself. The operation therefore runs through.

The same applies to swapping names (a is to be called b and b is to be called a) and to shifting a series along (a→b, b→c, c→d). SynQaiOrganizer puts the steps into the right order itself and, where needed, parks a file briefly under an intermediate name. You notice nothing of it — and ↩ Undo fully restores such cycles as well.
⚠️ Conflicts block the renaming
While conflicts remain, the status line reports “⚠ N conflicts — resolve before renaming” and the button stays disabled. Once everything is clean it reads, for example, “✓ 12 of 15 files will be renamed” (green; the text is red when there are conflicts). ✏ Rename also stays disabled while there is nothing to change, while files or folders are being read, and in test mode.
Screenshot 36: Preview table (Before / After / Note) with a marked conflict
Fig. 36 — Preview table (Before / After / Note) with a marked conflict

Setting the row order yourself

The preview rows can be picked up and moved with the mouse. A small card with the file name hangs from the pointer — with several rows dragged, also with the number of further rows (for example +2) — and a green line shows where the rows will land; the dragged rows fade. Several marked rows travel together; at the top and bottom edge the list scrolls along automatically, so you can drag across longer distances too.

This is not merely cosmetic but a tool in its own right. One simple rule applies:

The names in the After column stay where they are — the files travel through beneath them.

Dragging a row to another place assigns it the name that sits there. This works in two ways:

BlocksWhat dragging does
with CounterThe numbers stay fixed in their places — drag a file upwards and it gets the smaller number. That is how you put a series in exactly the order you want without touching the blocks.
only NameEvery proposal is the file’s own name, so there would be nothing to rename. Drag a row here and the files involved swap their names — a move turns into two real renamings.

An example of the second case: the list holds Variante_01 to Variante_04, the Name block proposes the same name for each — the status line reports nothing to do. Now drag Variante_03 to position 2 and you get:

PositionBeforeAfter
1Variante_01Variante_01 (unchanged)
2Variante_03Variante_02
3Variante_02Variante_03
4Variante_04Variante_04 (unchanged)

So two files swap their names. That such a thing can be carried out at all is thanks to the cycle resolution from section 7.6 — SynQaiOrganizer briefly parks one file under an intermediate name.

ℹ️ When the assignment lapses
The assignment made by dragging holds as long as you change nothing about the blocks. As soon as you add, remove or move a block, change its settings — or toggle File extensions or Counter per folder — the names are generated freshly from the chain again. That is intentional: whoever rebuilds the chain wants to see the new result, not the old state. Ticking, marking rows and further dragging, by contrast, leave the assignment untouched.
💡 Blocks first, then drag
This gives the order of work: first assemble the chain until the preview is basically right — and only then drag the rows into place. The other way round, the assignment would be gone after the next click on a block.
ℹ️ The tick stays clickable
A click on the tick on the far left unticks the row as usual and does not start a drag — so you do not have to be careful about where you grab the row. After a renaming, the order you dragged is kept.
⚠️ Folders are boundaries
If the preview shows folder rows — that is, as soon as your selection comes from several folders — a file can only be moved within its own folder. Drag it over a different folder and the pointer shows the no-entry sign, the card turns red and gives the reason (“only within the same folder”), and there is no green line: a file under a heading it does not belong to would simply be labelled wrongly. If you marked rows from several folders and then start dragging, only the part from the folder you grabbed travels along. Without folder rows — everything from one source — there is no boundary; the order stays completely free there.

You mark rows just as in the analysis list: Ctrl+click adds individual ones, Shift+click a whole range — and does so in addition to the existing marking, so that “single, range, single” can be built up in sequence. Ctrl+A marks everything, Esc clears the marking again while the focus is in the list (only a second Esc closes the window). The space bar toggles the ticks of all marked rows together.

💡 Marking and ticking are two different things
The marking (row highlighted orange) is transient working state — it says what dragging and the space bar refer to. The tick on the left decides whether the file is renamed. Esc clears only the marking and leaves the ticks untouched. The marking also survives a rebuild of the blocks — the preview is recalculated, but your marked rows stay marked. The active marked row is also the example file for the name ribbon and the “Example” in the settings.
Screenshot 37: A row being moved in the preview: card at the mouse pointer with file name and count, green line at the insertion point
Fig. 37 — A row being moved in the preview: card at the mouse pointer with file name and count, green line at the insertion point

7.7 Presets: saving your own templates

Save frequently used chains as a preset and call them up again at any time:

  1. Assemble the chain of blocks you want and mark at least two blocks (Ctrl+click or rubber band, 7.3).
  2. “Preset from N selected bricks” appears on the right. Enter a name (the field has the cursor at once) and click Save (or press Enter) — exactly the marked blocks are saved, and copies of them appear at the end of the field.
  3. From the first saved preset on, the palette offers the Preset block. Click it (or leave all blocks deselected) and the settings area shows “Custom Presets”: there you save the whole chain with a name and Save, and the list “Existing Presets (N)” shows the name and number of blocks of every preset.
  4. Clicking a preset in the list makes it the active one (at the start that is the first); you then drag the Preset block into the field like any other — there it turns into its saved chain.

The inserted chain sits on a plate of its own in the field and carries the preset’s name with “★”; its blocks can be adjusted individually (their settings then read “in chain “name””), and the plate afterwards shows “changed”. The save icon in the preset list writes the changed state back into the preset. Move the whole chain by its drag handle (“Drag to move the entire chain”); the ✕ of the plate takes it out of the field (“Remove the chain from the build plate — saved presets are kept”). Remove templates you no longer need with the ✕ in the list (tooltip Delete preset). A name that is already taken is rejected: “A preset named “X” already exists.” (case does not matter). Presets stay saved, even after the program is closed.

Screenshot 38: Preset area with name field, save button and the list of existing presets
Fig. 38 — Preset area with name field, save button and the list of existing presets

7.8 Running and undoing the renaming

When the preview looks right, click ✏ Rename (“Rename all selected entries – files or folders”). First it reads “Preparing the rename…”, then the progress runs as “N / M renamed…” (with the current file above it), and at the end the status line reports “✓ N files renamed” (with errors “N renamed · M errors”).

  • ↩ Undo reverses the last renaming operation (status line “↺ N rename operations undone”); it is disabled while there is nothing to undo, and only covers the last operation.
  • ✕ Close (or Esc) cancels a running operation and closes the window — files already renamed stay renamed (“⏹ Cancelled after N renames”). There is no separate cancel button.
🧪 Blocked in test mode
In test mode (without a licence) the final renaming is blocked: ✏ Rename stays greyed out, but the preview remains fully usable.
ℹ️ Afterwards in the main window
The kit stays open after the renaming and shows the new names. If it has renamed something, SynQaiOrganizer re-reads the file trees when you close it; renamed folders are followed by the path rows. An existing comparison list is discarded, because it only knows paths that no longer exist — analyse again then. From the file organiser the view returns to the tiles.
Screenshot 39: Footer of the kit with “✏ Rename”, “↩ Undo” and the status message “✓ N files renamed”
Fig. 39 — Footer of the kit with “✏ Rename”, “↩ Undo” and the status message “✓ N files renamed”

7.9 Folder mode: renaming folders

Above the preview there are two tabs: Files and Folders. Under Folders the preview shows the folders the files are in instead of the files — each once, grouped by parent folder and sorted by name within it (numbers as numbers: Lena_2 before Lena_10). The same kit builds their new names, with all blocks, settings, presets, tick boxes and row dragging as for files. This makes the function available wherever the rename module opens — from the file organiser as well as via ✏ in the image comparison (section 10.6). Straight from the file tree: right-click a folder (or a file) → ✏️ Rename… → ✏ Batch rename…. With a folder, the kit then opens directly in folder mode with the subfolders of this folder — the folder itself is the batch —, and Files lists all files in it including subfolders, grouped by the preview’s folder rows. With several entries marked, exactly those come along (folders even without files of their own); with only files marked, the kit starts at the files, and the Folders tab shows their folders. Hidden and system entries are left out, links to other folders are not entered, and with very many files SynQaiOrganizer reads them in the background (the tree shows its progress band meanwhile, 6.8).

  • Blocks for folders: Name, Free Text, Separator, Counter, Date and Theme Group as for files; folders have no extension, the dot in Holiday.2019 belongs to the name. Four folder blocks are added: Parent folder (name of the folder above), File count (files in the folder including subfolders; hidden and system files such as desktop.ini do not count), Series name and Series no. (from the folder name: Holiday_5 → Holiday and 05; without a number at the end, the whole name is the series name).
  • Date from the contents: In folder mode the Date block has two more sources, Oldest file and Newest file — the modification date of the oldest or newest file in the folder including subfolders. With Date, Separator and Name, Holiday 2024 thus becomes 2024-07-11 Holiday 2024; an empty folder takes its own modification date.
  • Default and counter: When first opened, only Name lies in the assembly field — the list shows the folders as they are named. Each mode keeps its own chain. The Counter numbers in list order; with Counter per folder it restarts at its start value in every parent folder.
  • Folders within folders: If folders of the list lie inside one another (Holiday 2024\RAW), both are renamed — the inner one first. Swaps and chains (A ↔ B) resolve through the order, as with files.

Grouping folder series. If the dialog detects folder series — at least two folders with the same name and a number at the end, case and separators do not matter: Holiday_01, Holiday 02, Holiday-3, Holiday05, Holiday (6) —, Group series also appears above the preview. Switched on, each series moves into a common folder, and all folders of the series join the list, including those without files from the list. Each series then has a header row with a name field preset to the recognised name (Holiday): Enter or leaving the field applies, Esc discards, an empty field restores the default; invalid characters become “_”. If the folder already exists, it is reused. The After column shows target folder and new name — with Series no. alone, for example Holiday\01. Series whose parent folder is already named like the series (Lena\Lena_01) and series you have just grouped in the same window are not offered.

ℹ️ Nothing is overwritten
If two folders in the same parent folder would get the same new name, or the target already exists — as a folder or as a file —, the row is marked red and Rename is locked. The whole folder is renamed or moved including its contents. ↩ Undo gives every folder back its name and place and removes common folders newly created for it, if empty.

Beforehand the status line reads “✓ N of M folders will be renamed”, afterwards “✓ N folders renamed”. If a folder fails — usually because a file inside it is open —, it reports “⚠ Not renamed: N – …” with the first reason; the others are renamed. The dialog reads the contents of the folders only when a block needs them (file count, oldest or newest file); with large folder trees this takes a while, but the folders themselves appear in the list straight away. While reading, it shows “Reading folders…” and Rename stays locked. After running, the dialog stays in folder mode and shows the new names; the files of the list are ready under their new paths, and the file trees of the main window follow the new names. A renaming of files carried out before stays reversible with ↩ Undo: the first click undoes the folders, the second the file names. In test mode, as with renaming, only the preview is usable.

Screenshot 40: Rename kit in folder mode: tab “Folders”, palette with the folder blocks “Parent folder”, “File count”, “Series name” and “Series no.”, chain “Date · Separator · Name” with the source “Oldest file”; the preview shows the folders of the files, grouped by parent folder (“Holiday 2024 → 2024-07-11 Holiday 2024”, below it the subfolder “RAW”), above it “Group series”
Fig. 40 — Rename kit in folder mode: tab “Folders”, palette with the folder blocks “Parent folder”, “File count”, “Series name” and “Series no.”, chain “Date · Separator · Name” with the source “Oldest file”; the preview shows the folders of the files, grouped by parent folder (“Holiday 2024 → 2024-07-11 Holiday 2024”, below it the subfolder “RAW”), above it “Group series”
An unhandled error has occurred. Reload 🗙