15
votes
4answers
5k views

How can I make 'rm' move files to the trash can?

I use the terminal on a daily basis, I will often use rm DirectoryName, sometimes I get a little crazy and do rm * As you can imagine these shenanigans have sometimes come back and hit me in the ...