rm-trash
v1.2.1
Published
rm-trash is utility for safely remove files in Termail.app of macOS.
Downloads
2
Readme
README
rm-trash is a utility for safely remove (rm
) files in Terminal.app of macOS.
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