rm-trash
v1.2.3
Published
rm-trash is utility for safely remove files in Termail.app of macOS.
Downloads
12
Readme
README
rm-trash is a utility for safely remove (rm) files in Terminal.app of macOS.
INSTALL
By Homebrew:
$ brew tap hotoo/tap
$ brew install rm-trashby pnpm:
$ pnpm i rm-trash -gby npm:
$ npm i rm-trash -gUSAGE
$ rm-trash file
$ rm-trash dir
$ rm-trash linkOptional: set an alias to rm-trash for easier to use the commend.
.zshrc or .bash_profile
$ alias rm="rm-trash"p.s. The origin rm commend is /bin/rm.
Configuration
add ~/.rm-trash-ignore to direct remove files.
Example:
/node_modules