Clir is a small CLI app written in Rust that helps you keep your filesystem clean by allowing you to define custom global glob patterns to identify and remove unwanted files.
- Define custom global glob patterns to identify and remove unwanted files
- Minimalistic, formatted output for reporting disk usage of specified patterns
- Supported on all Unix platforms
(requires rustc >= 1.56.0)
cargo install --path .
Make sure that ${HOME}/.cargo/bin
is in your path!
To use clir, simply run the clir
command followed by any additional arguments or options. Here are some examples:
Add a new pattern:
clir add <pattern>
Print a report on currently defined patterns:
clir
Remove files associated with defined patterns:
clir -r
For a comprehensive list of all capabilities and options please run clir --help
.
Contributions are always welcome. For small changes feel free to submit a PR. For larger changes please create an issue first to discuss your proposal.
Clir is licensed under the MIT license.