Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

trash-cli provide a trash command, and gvfs-bin provides a gvfs-trash command that move files / directories to the trash can.

Is there an important difference between these two commands?

share|improve this question
up vote 7 down vote accepted

gvfs-trash is part of GNOME's Gvfs, while trash-cli is a separate set of tools independent of the desktop environment. Both programs implement the XDG Trash specification and should be compatible with each other. For example, you can trash files with gvfs-trash or GNOME Nautilus, then restore from trash-restore or KDE.

share|improve this answer
Very clear answer. In other words, the difference (in terms of their functionality) is nonexistent or minimal (in command line options). – Alan Turing Aug 16 '11 at 23:39
Is the equivalent in KDE, ktrash? – CMCDragonkai Apr 24 at 10:23

Your Answer


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.