#trash #recycling

app can-cli

Cross-platform command line tool for moving files to the trash

4 releases

new 0.4.2 Dec 25, 2025
0.4.1 Dec 24, 2025
0.4.0 Dec 24, 2025
0.3.0 Dec 24, 2025

#277 in Filesystem

MIT license

30KB
813 lines

can

Command line tool for moving files to the trash as an alternative to rm.

Install

Cargo

cargo install can-cli

Homebrew

brew tap joshvoigts/can
brew install can

Usage

$ can --help
usage: can [options] file ...
    -v, --verbose                    Run verbosely
    -l, --list                       List trash contents
    -E, --empty                      Empty trash
    -h, --help                       Show this message

Release Instructions

cargo build --release
cd ~/builds/release
tar -czf can-0.1.0-x86_64-apple-darwin.tar.gz can
shasum -a 256 can-0.1.0-x86_64-apple-darwin.tar.gz

Dependencies

~1–12MB
~72K SLoC