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
  • 75,636
  • 74
  • 233
  • 365

2 Answers2

4

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

dessert
  • 39,392
  • 12
  • 115
  • 163
mgunes
  • 9,780
  • 3
  • 41
  • 43
3

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

evgeny
  • 9,475
  • 3
  • 27
  • 28