3 ms·
I’ve seen it generally recommended to use a different command rather than aliasing `rm`. Pretty sure there are a plethora of options for each OS but here’s a c
by alanning 8y ago
I’ve seen it generally recommended to use a different command rather than aliasing `rm`.
Pretty sure there are a plethora of options for each OS but here’s a couple:
For OSX, homebrew has a handy “trash” command line tool [1].
For Ubuntu, trash-cli seems popular [2].
1. `brew install trash`
2. http://manpages.ubuntu.com/manpages/precise/man1/trash-put.1.html http://manpages.ubuntu.com/manpages/precise/man1/trash-put.1...