LinuxCommandLibrary

gvfs-rm

TLDR

Remove file

$ gvfs-rm [file]
copy
Remove remote file
$ gvfs-rm smb://server/share/file.txt
copy
Force removal
$ gvfs-rm -f [file]
copy

SYNOPSIS

gvfs-rm [options] location

DESCRIPTION

gvfs-rm removes files using GVFS. It can delete local files and files on remote servers accessed through GVFS backends.
The tool handles deletion across different protocols transparently. It works with SMB, FTP, SSH, and other GVFS-supported systems.
gvfs-rm removes files via GVFS backends.

PARAMETERS

LOCATION

File path or URI to remove.
-f, --force
Ignore nonexistent files.
--help
Display help information.

CAVEATS

Deprecated in favor of gio remove. GNOME dependencies. No recursive directory removal.

HISTORY

gvfs-rm was developed as part of GVFS for GNOME, now largely replaced by the gio command.

SEE ALSO

gio(1), rm(1), gvfs-trash(1)

Copied to clipboard