| Crates.io | filenametool |
| lib.rs | filenametool |
| version | 0.2.1 |
| created_at | 2022-06-29 05:19:25.104135+00 |
| updated_at | 2022-07-08 18:39:48.961938+00 |
| description | Manipulates paths. A CLI interface to Rust's std::path module. |
| homepage | |
| repository | https://github.com/PowerSnail/filenametool |
| max_upload_size | |
| id | 615252 |
| size | 11,672 |
A CLI program to manipulate paths and file names. In a nutshell, this is a simple wrapper around Rust's std::path, exposing the library with a CLI interface.
| Command | Arguments | Description |
|---|---|---|
| filename | path | Get the filename |
| is-absolute | path | Whether the path is an absolute path |
| parent | path | Return the parent of the input |
| stem | path | Get the filename excluding the extension |
| with-suffix | path, suffix | Get the filename with a different suffix |
Filename Tool can be installed via cargo:
cargo install filenametool
Simply clone this repository and run cargo build. There's no external dependencies.