Crates.io | filerefine |
lib.rs | filerefine |
version | |
source | src |
created_at | 2024-10-21 10:12:30.824539+00 |
updated_at | 2025-04-04 17:15:54.19062+00 |
description | ๐งน FileRefine is a Rust-based CLI tool that renames files in a directory to remove unwanted or problematic characters from filenames. |
homepage | https://trinhminhtriet.com/ |
repository | https://github.com/trinhminhtriet/filerefine |
max_upload_size | |
id | 1417184 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
_____ _ _ ____ __ _
| ___|(_)| | ___ | _ \ ___ / _|(_) _ __ ___
| |_ | || | / _ \| |_) | / _ \| |_ | || '_ \ / _ \
| _| | || || __/| _ < | __/| _|| || | | || __/
|_| |_||_| \___||_| \_\ \___||_| |_||_| |_| \___|
๐งน FileRefine is a Rust-based CLI tool that renames files in a directory to remove unwanted or problematic characters from filenames.
To install filerefine
, simply clone the repository and follow the instructions below:
git clone https://github.com/trinhminhtriet/filerefine.git
cd filerefine
cargo install --path .
filerefine --do my_path
Running the below command will globally install the filerefine
binary.
cargo install filerefine
By default, filerefine will only print the names that would be renamed. Use the
--do
or-d
option to actually rename the files.
Option | Description |
---|---|
-v , --version |
Prints version information |
-d , --do |
Do the actions |
-q , --quiet |
No output |
-j , --json |
Output as JSON |
-p , --json-pretty |
Output as JSON (prettified) |
-e , --json-error |
Output as JSON (only errors) |
We welcome contributions!
git checkout -b my-feature
;git commit -m "feat: my new feature"
;git push origin my-feature
.Once your pull request has been merged, you can delete your branch.
This project is licensed under the MIT License - see the LICENSE file for details.