Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

2 Answers 2

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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