Renify
A simple cli tool for batch renaming files and folders, written in Rust.
- π written in Rust, fast.
- π Available on PyPi, install via
pip. - π§©
WindowsLinuxMacOSsupport. - π
filesandfolderssupport. - π 7 renaming methods provided.
- β οΈ
symlinksareunsupportedfor now!

Installation
pip install renify
Usage
Renaming - ιε½ε
For those new to Renify, consider using the following code for interactive mode:
Or you can use:
Rolling back - ιεδΈδΈζ¬‘ζδ½
You can revert to the previous state of the modifications by using:
Help & options
You can get help from:
Methods provided
- random: Sample a u8, uniformly distributed over ASCII letters and numbers: a-z, A-Z and 0-9.
9AFoh, wGRLC, knj9y, ... - uuid: Uuid4.
de2662a9-fb02-4686-b556-0aca36c0e087 - time: Local time now.
2023-03-04-22-26-42-222655555 - num: Numbers start from
--start(1 by default).1, 2, 3, ... - znum: Numbers with left zero padding start from
--start(1 by default).001, 002, 003, ... - prefix: Add a prefix string to the file stem, along with a delimiter.
X.jpg => [--with][--delimiter]X.jpg - append: Append a delimiter and a string after the file stem.
X.jpg => X[--delimiter][--with].jpg
Note that
Renify will set --indiscriminate false to make sure that the file stems stay consistent. This means that if you have files with the same stems in the same folder, they'll still look the same even after you rename them. Certainly, you can use --indiscriminate to treat each file as an independent entity without considering its relationship with other files.