1GFCP(1) User Commands GFCP(1)
2
3
4
6 gfcp - manual page for gfcp (glusterfs-coreutils) 0.3.0
7
9 gfcp [OPTION]... SOURCE DEST
10
12 Copy SOURCE to DEST; one of local to remote, remote to local, or remote
13 to remote.
14
15 -o, --xlator-option=OPTION
16 specify a translator option for the connection. Multiple options
17 are supported and take the form xlator.key=value. In the case
18 of both the source and the destination being Gluster URLs, the
19 options will be applied to both connections.
20
21 -p, --port=PORT
22 specify the port on which to connect
23
24 --help display this help and exit
25
26 --version
27 output version information and exit
28
30 gfcp ./file glfs://localhost/groot/remote_file
31
32 Copies the local file 'file' to the destination file
33 'remote_file' on the remote Gluster volume of groot on the host
34 localhost.
35
36 gfcp glfs://localhost/groot/remote_file ./file
37
38 Copies the file 'remote_file' on the remote Gluster gluster vol‐
39 ume of groot on the host localhost to the local file 'file'.
40
41 gfcp glfs://localhost/groot/remote_file
42 glfs://remote_host/groot/file
43
44 Copies the file 'remote_file' on the remote Gluster gluster vol‐
45 ume of groot on the host localhost to a second remote Gluster
46 volume of groot on the host remote_host to the file 'file'.
47
48 gfcli (localhost/groot)> cp /example file://example
49
50 Copy the file example relative to the root of the connected
51 Gluster volume to a local file called example.
52
53 gfcli (localhost/groot)> cp file://example glfs://host/vol‐
54 ume/example
55
56 Copy the local file example to a remote Gluster volume on the
57 host 'host'.
58
60 Written by Craig Cabrey.
61
63 Copyright © 2015 Facebook, Inc. License GPLv3: GNU GPL version 3
64 <http://www.gnu.org/licenses/gpl-3.0.en.html>.
65 This is free software: you are free to change and redistribute it.
66 There is NO WARRANTY, to the extent permitted by law.
67
69 gfcli(1)
70
71
72
73gfcp (glusterfs-coreutils) 0.3.0 January 2020 GFCP(1)