rm-trash

rm-trash is utility for safely remove files in Termail.app of macOS.


Keywords
rm, remove, termail.app, macOS
License
MIT
Install
npm install rm-trash@1.2.1

Documentation

README

NPM version NPM downloads

rm-trash is a utility for safely remove (rm) files in Terminal.app of macOS.

rm-trash

INSTALL

$ npm i rm-trash -g

USAGE

$ rm-trash file
$ rm-trash dir
$ rm-trash link

Optional: 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