Crates.io | snakit |
lib.rs | snakit |
version | |
source | src |
created_at | 2025-02-02 16:54:27.669781 |
updated_at | 2025-02-02 17:59:42.752158 |
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 |
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 |
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.