gfcp - Man Page

manual page for gfcp 0.3.0

Synopsis

gfcp [OPTION]... SOURCE DEST

Description

Copy SOURCE to DEST; one of local to remote, remote to local, or remote to remote.

-o,  --xlator-option=OPTION

specify a translator option for the connection. Multiple options are supported and take the form xlator.key=value. In the case of both the source and the destination being Gluster URLs, the options will be applied to both connections.

-p,  --port=PORT

specify the port on which to connect

--help

display this help and exit

--version

output version information and exit

Examples

gfcp ./file glfs://localhost/groot/remote_file

Copies the local file 'file' to the destination file 'remote_file' on the remote Gluster volume of groot on the host localhost.

gfcp glfs://localhost/groot/remote_file ./file

Copies the file 'remote_file' on the remote Gluster gluster volume of groot on the host localhost to the local file 'file'.

gfcp glfs://localhost/groot/remote_file glfs://remote_host/groot/file

Copies the file 'remote_file' on the remote Gluster gluster volume of groot on the host localhost to a second remote Gluster volume of groot on the host remote_host to the file 'file'.

gfcli (localhost/groot)> cp /example file://example

Copy the file example relative to the root of the connected Gluster volume to a local file called example.

gfcli (localhost/groot)> cp file://example glfs://host/volume/example

Copy the local file example to a remote Gluster volume on the host 'host'.

Author

Written by Craig Cabrey.

See Also

gfcli(1)

Info

July 2024 glusterfs-coreutils 0.3.0