Crates.io | renix |
lib.rs | renix |
version | 0.1.0 |
source | src |
created_at | 2024-09-08 00:24:36.309761 |
updated_at | 2024-09-08 00:24:36.309761 |
description | renix is a blazingly-fast CLI utility for batch renaming files. |
homepage | |
repository | |
max_upload_size | |
id | 1367681 |
size | 25,104 |
renix is a blazingly-fast CLI utility for batch renaming files.
cargo install renix
Usage: renix [OPTIONS] --path <PATH>
Options:
-d, --path <PATH> Path to directory containing files to be renamed
-p, --prefix <PREFIX> Add a prefix to the files
-s, --suffix <SUFFIX> Add a suffix to the files
--no-table Do not print table
-r, --remove Remove a prefix and/or suffix
-c, --case <CASE> Change case of file names
--replace <REPLACE> Replace a substring in the file names
-e, --exclude <EXCLUDE> Exclude certain files
-h, --help Print help
-V, --version Print version
renix -d /path/to/directory -p "prefix"
renix -d /path/to/directory -s "suffix"
renix -d /path/to/directory -s "suffix" -p "prefix" -r
renix -d /path/to/directory -c "lower"
renix -d /path/to/directory --replace "old,new"
renix -d /path/to/directory --replace "old,new" -e /path/to/directory/file1 /path/to/directory/file2