This question already has an answer here:

Can I make a shell script trash files instead of delete them?

In the past I used gvfs-trash but this doesn't appear to exist in Ubuntu 10.10.

marked as duplicate by Radu Rădeanu command-line Sep 17 '14 at 6:05

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • "This question has been asked before..." Hmm, that could use some rewording. – ændrük Sep 17 '14 at 6:11

Please refer to this answer. It outlines the way to do it.


Make sure you have the gvfs-bin package installed. gvfs-trash is part of it.

Not the answer you're looking for? Browse other questions tagged or ask your own question.