'\" t .\" Title: gvfs-trash .\" Author: Alexander Larsson .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: 11/30/2014 .\" Manual: User Commands .\" Source: gvfs .\" Language: English .\" .TH "GVFS\-TRASH" "1" "" "gvfs" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" gvfs-trash \- Move files or directories to the trash .SH "SYNOPSIS" .HP \w'\fBgvfs\-trash\ \fR\fB[OPTION...]\fR\fB\ \fR\fB[LOCATION...]\fR\ 'u \fBgvfs\-trash \fR\fB[OPTION...]\fR\fB \fR\fB[LOCATION...]\fR .SH "DESCRIPTION" .PP \fBgvfs\-trash\fR 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 \fB$XDG_DATA_HOME\fR/Trash\&. .PP Note that 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 \fBgvfs\-rm\fR\&. .PP Inspecting and emptying the "Trashcan" is normally supported by graphical file managers such as nautilus, but you can also see the trash with the command \fBgvfs\-ls trash://\fR\&. .SH "OPTIONS" .PP The following options are understood: .PP \fB\-h\fR, \fB\-\-help\fR .RS 4 Prints a short help text and exits\&. .RE .PP \fB\-\-version\fR .RS 4 Shows the version number and exits\&. .RE .PP \fB\-f\fR, \fB\-\-force\fR .RS 4 Ignore nonexistent and non\-deletable files\&. .RE .PP \fB\-\-empty\fR .RS 4 Empty the trash\&. .RE .SH "EXIT STATUS" .PP On success 0 is returned, a non\-zero failure code otherwise\&. .SH "SEE ALSO" .PP \fBls\fR(1), \fBgvfs-rm\fR(1), \m[blue]\fBDesktop Trash Can specification\fR\m[]\&\s-2\u[1]\d\s+2 .SH "NOTES" .IP " 1." 4 Desktop Trash Can specification .RS 4 \%http://freedesktop.org/wiki/Specifications/trash-spec .RE