| Crates.io | snakit |
| lib.rs | snakit |
| version | 0.1.1 |
| created_at | 2025-02-02 16:54:27.669781+00 |
| updated_at | 2025-02-02 17:59:42.752158+00 |
| description | Command-line tool that recursively renames all files and folders within a specified directory to snake_case. |
| homepage | |
| repository | https://github.com/TahaHachana/snakit |
| max_upload_size | |
| id | 1539712 |
| size | 32,326 |
snakit is a command-line tool written in Rust that recursively renames all files and directories in a given directory to snake_case.
cargo install snakit
You can execute snakit using the following syntax:
snakit <path> [OPTIONS]
<path>-d, --dry-run
Enable dry run mode. Displays the changes that would be made without applying them.
--include-hidden
Include hidden files and directories in the renaming process.
(By default, hidden files and directories are skipped.)
-v, --verbose
Enable verbose mode to show detailed renaming information for each file and folder processed.
Perform a dry-run on a directory:
snakit ./my_directory --dry-run --verbose
Rename all files and folders in a directory:
snakit ./my_directory --verbose
snakit reads the specified directory and processes each file and folder:
This project is licensed under the MIT License. See the LICENSE file for details.