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
  • 78,496

2 Answers2

4

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

dessert
  • 40,956
mgunes
  • 9,910
3

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

evgeny
  • 9,865