LinuxCommandLibrary

gvfs-copy

copies files using GVFS

TLDR

Copy local file

$ gvfs-copy [source] [destination]
copy
Copy from remote
$ gvfs-copy smb://server/share/file.txt [local-file]
copy
Copy with progress
$ gvfs-copy -p [source] [destination]
copy
Preserve attributes
$ gvfs-copy --preserve [source] [destination]
copy

SYNOPSIS

gvfs-copy [options] source destination

DESCRIPTION

gvfs-copy copies files using GVFS (GNOME Virtual File System). It supports local files and remote URIs like SMB, FTP, and SSH.
The tool handles network protocols transparently, copying files across different backends. It integrates with GNOME's file system abstraction.

PARAMETERS

SOURCE

Source file or URI.
DESTINATION
Destination file or URI.
-p, --progress
Show progress.
-i, --interactive
Prompt before overwrite.
--preserve
Preserve attributes.
-n, --no-target-directory
Treat destination as file.
--help
Display help information.

CAVEATS

Deprecated in favor of gio copy. GNOME dependencies. Requires running GVFS daemon.

HISTORY

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

SEE ALSO

gio(1), cp(1), gvfs-move(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community