Possible Duplicate:
Make `rm` move to trash
I've looked everywhere for the answer, but I can't find it.
Is it possible to move/delete a file to the trash folder on linux. But also having the trashinfo file.
E.g I can move the file into the trash folder fine, but I don't have the trashinfo file.
tldr; How to delete a file to trash in BASH
Also, I'm using Ubuntu 12.10