1GFTRUNCATE(1)                    User Commands                   GFTRUNCATE(1)
2
3
4

NAME

6       gftruncate - manual page for gftruncate 0.3.0
7

SYNOPSIS

9       gftruncate [OPTION]... URL
10

DESCRIPTION

12       Read a file on a remote Gluster volume and write it to standard output.
13
14       -o, --xlator-option=OPTION
15              specify a translator option for the connection. Multiple options
16              are supported and take the form xlator.key=value.
17
18       --size=SIZE
19              set or adjust the file size by SIZE bytes size  is  integer  and
20              optional unit (Eg: 10, 10K, 10KB)
21
22       -p, --port=PORT
23              specify the port on which to connect
24
25       --help display this help and exit
26
27       --version
28              output version information and exit
29

EXAMPLES

31              gftruncate glfs://localhost/groot/path/to/file
32
33              Truncate /path/to/file on the Gluster volume
34
35              gfcli (localhost/groot)> cat /file
36
37              In  the  context of a shell with a connection established, Trun‐
38              cate the file on the gluster volume.
39

AUTHOR

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

SEE ALSO

50       gfcli(1)
51
52
53
54glusterfs-coreutils 0.3.0          July 2021                     GFTRUNCATE(1)
Impressum