Crates.io | renam |
lib.rs | renam |
version | 0.3.0 |
source | src |
created_at | 2024-07-18 14:08:12.843524 |
updated_at | 2024-07-20 12:10:49.306677 |
description | Blazingly fast file renamer |
homepage | https://codeberg.org/MicroPanda123/renam |
repository | https://codeberg.org/MicroPanda123/renam |
max_upload_size | |
id | 1307459 |
size | 15,610 |
Blazingly fast file renaming utility with regex.
cargo install renam
renam "regex pattern" "replacement" [optional folder]
Example: Folder contains files named:
To turn x into z:
renam "x" "z"
By default renam renames files in current directory. Directory can be specified at the end: renam "x" "z" "path/to/folder"
If you want to see which files were changed, you can use -v
flag, and if you want to also see all files that were not renamed, use -vv
If you only want to see what changes will happen, but not actually commit them, use -d
(with -v
/-vv
flag)
You can also rename files recursively using -r
flag, and specify max depth of it using --max-depth
.
-vv
)Dedications to renamer (I wanted to call my project that but this was first lol) which seems better (has incrementing which I do not plan to include) but from my benchmarks slightly slower, and to rename which is also slower :3
And to other similar projects.