gftruncate(1)
| GFTRUNCATE(1) | User Commands | GFTRUNCATE(1) |
NAME
gftruncate - manual page for gftruncate 0.3.2
SYNOPSIS
gftruncate [OPTION]... URL
DESCRIPTION
Read a file on a remote Gluster volume and write it to standard output.
- -o, --xlator-option=OPTION
- specify a translator option for the connection. Multiple options are supported and take the form xlator.key=value.
- --size=SIZE
- set or adjust the file size by SIZE bytes size is integer and optional unit (Eg: 10, 10K, 10KB)
- -p, --port=PORT
- specify the port on which to connect
- --help
- display this help and exit
- --version
- output version information and exit
EXAMPLES
- gftruncate glfs://localhost/groot/path/to/file
- Truncate /path/to/file on the Gluster volume
- gfcli (localhost/groot)> cat /file
- In the context of a shell with a connection established, Truncate the file on the gluster volume.
AUTHOR
Written by Moonblade.
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)
| July 2023 | glusterfs-coreutils 0.3.2 |
