Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

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
up vote 3 down vote accepted

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

share|improve this answer

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

share|improve this answer

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