can
is a macOS command-line utility that provides an alternative to the rm
command. Instead of permanently deleting files and directories, can
moves them to the user's Trash, allowing for easy recovery if needed.
usage: can [-h | -V] [--] file ...
brew tap tshakalekholoane/taps && brew install can
The application can be built from source by cloning the repository and running the following commands which require working versions of Clang and Make which come bundled with Command Line Tools for Xcode on macOS.
git clone https://github.com/tshakalekholoane/can && cd can
make