gfcp (1) - Linux Manuals

gfcp: manual page for gfcp (glusterfs-coreutils) 0.2.0

NAME

gfcp - manual page for gfcp (glusterfs-coreutils) 0.2.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.

COPYRIGHT

Copyright © 2015 Facebook, Inc. License GPLv3: GNU GPL version 3 <http://www.gnu.org/licenses/gpl-3.0.en.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

SEE ALSO

gfcli(1)