5 ms·
rmtrash http://www.nightproductions.net/cli.htm http://www.nightproductions.net/cli.htm I prefer 'brew install rmtrash'
by neanderdog 15y ago
rmtrash
http://www.nightproductions.net/cli.htm http://www.nightproductions.net/cli.htm
I prefer 'brew install rmtrash'
- JonnieCache 15y agoThere's lots of stuff like that out there, I'm talking about something I can actually replace the rm binary with, a wrapper that precisely maintains the rm interface as described here: http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/rm.1.html http://developer.apple.com/library/mac/#documentation/Darwin... I like the idea of actually wrapping the unlink syscall, but I have no idea if/how darwin allows that.
- ordinary 15y agoYou can alias trash-cli over rm, though it ignores -i, -r and -f and instead runs recursively, forced and non-interactively by default.