Move files or directories to the trash
see also :
ls - gvfs-rm
add an example, a script, a trick and tips
no example yet ...
... Feel free to add your own example above to help other Linux-lovers !
sends files or directories to the "Trashcan". This
can be a different folder depending on where the file is
located, and not all file systems support this concept. In
the common case that the file lives inside a users home
directory, the trash folder is
moving files to the trash does not free up space on the file
system until the "Trashcan" is emptied. If you are
interested in deleting a file irreversibly, see
emptying the "Trashcan" is normally supported by
graphical file managers such as nautilus, but you can also
see the trash with the command gvfs-ls
options are understood:
Prints a short help text and
Ignore nonexistent and
Empty the trash.
On success 0 is returned, a non-zero failure code otherwise.
Desktop Trash Can specification
gvfs trash [option ]
gvfs-rm , Desktop Trash