Hacker News new | ask | show | jobs
by Hinrik 1636 days ago
You might want to add a slash at the end of "trash", or add a mkdir before that command. Otherwise, doing this on a system where ~/.trash doesn't exist can still make you lose files after multiple deletions.