Skip to content

heat1q/clir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clir

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.

Features

  • 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

Installation

Install from source

(requires rustc >= 1.56.0)

cargo install --path .

Make sure that ${HOME}/.cargo/bin is in your path!

Usage

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.

Contributing

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.

License

Clir is licensed under the MIT license.

Releases

No releases published

Packages

No packages published

Languages