1

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.

ændrük
  • 76,794

2 Answers2

4

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

dessert
  • 39,982
mgunes
  • 9,820
3

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

evgeny
  • 9,575