Put files/folders you delete using rm into your Mac Trash Bin.

The following addition to your is super handy if you regularly use the command line/console on your Mac. Instead of simply deleting files forever it will instead put them into the folder in a unique sub-folder so you can recover them until you empty your bin. Very handy if you delete something by accident!

function rm () {
local path…