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
# or
cargo install renify
Usage
Renaming - 重命名
For those new to Renify, consider using the following code for interactive mode:
renify -i <File or Folder Path>
Or you can use:
renify -i <File or Folder Path> --target file --method znum --nbits 5 --recursive false --start 1 -y
Rolling back - 退回上一次操作
You can revert to the previous state of the modifications by using:
renify -i . --roll
Help & options
You can get help from:
renify --help
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.
Metadata
Release files for renify 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| renify-0.1.1.tar.gz | 3.5 MB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| renify-0.1.1-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| renify-0.1.1-py3-none-win32.whl | Python 3 | none | Windows x86-32 | Details |
| renify-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details |
| renify-0.1.1-py3-none-manylinux_2_5_i686.manylinux1_i686.whl | Python 3 | none | Linux glibc 2.5+ x86-32 | Details |
| renify-0.1.1-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
| renify-0.1.1-py3-none-macosx_10_12_x86_64.whl | Python 3 | none | macOS 10.12+ x86-64 | Details |
Total release size: 7.1 MB
Release files / renify-0.1.1.tar.gz
| Download URL | renify-0.1.1.tar.gz |
|---|---|
| Size | 3.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7d7f449dc402f6cd983e24fab86aaf5ddcbefed613a0e372fd02322a4779b0e
|
|
BLAKE2b-256 checksum How to use checksums |
6927af74f748bc50525626ed719dd59ab83dce615cd1b0d6edc0fd4683e8ccaf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / renify-0.1.1-py3-none-win_amd64.whl
| Download URL | renify-0.1.1-py3-none-win_amd64.whl |
|---|---|
| Size | 525.9 kB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
ac1db0def4d94b052799a96722e080f5924e4e67a1dafcf67704901ed605e0fb
|
|
BLAKE2b-256 checksum How to use checksums |
b631a2c8a9069ee6ef969da6fe557a6eacf16285e374f28cc2b7784912b00ade
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / renify-0.1.1-py3-none-win32.whl
| Download URL | renify-0.1.1-py3-none-win32.whl |
|---|---|
| Size | 494.9 kB |
| Tags | Python 3 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
af5ab9019fa38e9ba62904beff7d28961c4bae1a622452aebb0b4d121d67442a
|
|
BLAKE2b-256 checksum How to use checksums |
15b936f92f65131f99b6d0d8b6e21c261a4e73922850c9e868b0c5d0290e641d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / renify-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | renify-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 646.9 kB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
8333ed101e1745638f1360f251df658a23905d72ee4ef8c91b58c0fd7c389f68
|
|
BLAKE2b-256 checksum How to use checksums |
128bde269a61e6d16a9289362838a2c2160586e8adadeb89d815995ca8f76b4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / renify-0.1.1-py3-none-manylinux_2_5_i686.manylinux1_i686.whl
| Download URL | renify-0.1.1-py3-none-manylinux_2_5_i686.manylinux1_i686.whl |
|---|---|
| Size | 709.6 kB |
| Tags | Linux glibc 2.5+ x86-32 Python 3 |
|
SHA-256 checksum How to use checksums |
b290699170b30f7afefa287c3d8f8afdceab32e9e8c26b74adb0faef162e2aca
|
|
BLAKE2b-256 checksum How to use checksums |
31ea4b3943f625779a2cbfbdfd2750316d19d2f78ac57058ceb83b308fa34555
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / renify-0.1.1-py3-none-macosx_11_0_arm64.whl
| Download URL | renify-0.1.1-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 599.8 kB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
9ee5a7feae0b85be664f32e2a1058544f22375dfc29e5b701fc3e302cd4ce95d
|
|
BLAKE2b-256 checksum How to use checksums |
8cb43287924576aef6bd60fe5457a3d4b53315ce1d3b9dc5c5aa73bc9074dffe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / renify-0.1.1-py3-none-macosx_10_12_x86_64.whl
| Download URL | renify-0.1.1-py3-none-macosx_10_12_x86_64.whl |
|---|---|
| Size | 627.4 kB |
| Tags | Python 3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
58fb94352ee9a69ada6a097e4fb5612de0f8860622641ff7cb8980778a3e7374
|
|
BLAKE2b-256 checksum How to use checksums |
5834b6749be27de67c0297780505fb6c8a5a2174e6a400fc6b5f803b3e83e68d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|