| Crates.io | pathcify |
| lib.rs | pathcify |
| version | 0.0.1 |
| created_at | 2025-07-07 10:57:18.215894+00 |
| updated_at | 2025-07-07 10:57:18.215894+00 |
| description | CLI tool to recursively slugify file and directory names using dots, removing special characters and normalizing names. |
| homepage | https://github.com/ewilan-riviere/pathcify |
| repository | https://github.com/ewilan-riviere/pathcify |
| max_upload_size | |
| id | 1741039 |
| size | 25,448 |
Rust CLI tool to recursively slugify file and directory names using dots, removing special characters and normalizing names.
Available on crates.io.
For examples:
La Quête d'Ewilan vol.1 : D'un monde à l'autre-·/_,:; (1), [Bottero, Pierre]Author @{1} <book> ?!//& to la.quete.dewilan.vol.1.dun.monde.a.lautre-._.1.bottero.pierre.author.{1}.book with lowercase00 - Préface to 00-PrefaceGóðan daginn to Godan.DaginnYou can install pathcify with Cargo.
cargo install pathcify
You can execute pathcify on a directory or a file:
pathcify /path/to/dir
All files and directories will be recursively pathcified, converting their names to a format suitable for URLs or filenames.
- and _ characters (and remove spaces before and after them)-lpathcify --help
-l, --lowercase: Convert all names to lowercase.-h, --help: Print help information.-V, --version: Print the version of the tool.Build and test the package:
cargo build --release
cargo test
Test publishing:
cargo publish --dry-run
Publish the package to crates.io:
cargo publish
This project is licensed under the MIT License - see the LICENSE file for details.