Multi-Rename Tool
Back to MIB | User Interface | Plugins | File processing
The Multi-Rename Tool plugin in Microscopy Image Browser (MIB) is a utility for batch renaming files, such as images or datasets, using customizable templates. It simplifies organizing large file sets by applying consistent naming rules.
Overview
The plugin enables efficient renaming of multiple files with options for templates, counters, and text replacement. It’s ideal for preparing datasets for MIB analysis or ensuring standardized naming conventions.
Key Features
- Apply customizable templates to define filename structures.
- Add counters with specified digits, start values, and increments.
- Search and replace text within filenames.
- Adjust filename case (uppercase, lowercase, or unchanged).
- Standardize numbers by adding leading zeros to match a digit count.
Usage
Access the plugin via:
Menu → Plugins → File Processing → Multi Rename Tool
.
Follow these steps to rename files:
Click to choose files for renaming.
Selected filenames appear in the file list table, showing original and proposed names.
Right-click the file list table to open a context menu:
Remove from the list
: remove selected files.
Use the
edit box to set a naming pattern with placeholders:[C]
: adds a counter (configured in Counter Settings).[E]
: keeps the original file extension (e.g.,tif
,jpg
).[N]
: includes the original filename (without extension).[P]
: adds the parent folder name.
Example
A template like custom_[N]_[C]
with extension txt
might rename image.doc
to custom_image_001.txt
.
Info
Configure counter settings (digits, start, step) to control [C]
behavior.
Use the jpg
) or use [E]
to retain originals.
Adjust in the Counter Settings panel:
001
).
: number of digits (e.g., 3 for - : starting value (e.g., 1).
001
,002
; 2 for001
,003
).
: increment (e.g., 1 for
Fine-tune filenames:
- : text pattern to find.
- : replacement the found pattern with a new text.
- : enable for case-sensitive search.
unchanged
,UPPERCASE
, orlowercase
to change letter case.
: select
- Enable
1
to001
for 3 digits).
to standardize numbers (e.g., - Use to skip numbers following specific prefixes.
Click
to update the table with proposed filenames.Note
Review the preview to avoid errors. Adjust settings and re-preview if needed.
Tip
Use the
checkbox to interactively follow the changes.Press
to apply changes to the files.Back to MIB | User Interface | Plugins | File processing