Display the version number of the installed YETI client.
Command:
$ ./yeti.py –v
Result:
1.0.0
Show help
Display details about all the possible arguments.
Command:
$ ./yeti.py –h
Result:
usage: yeti.py [-h] [-v] [--verbose] [--configuration-file ]
[--source-container-name ] [--destination-container-name ]
[--source-object-name ] [--destination-object-name ]
[--source-local-file-name ]
[--destination-local-file-name ] [--create-symbolic-link]
[--metadata-name ] [--metadata-value ]
[--read-access-control-list ]
[--write-access-control-list ] [--quota-bytes ]
[--quota-count ]
[]
YETI object storage manager.
positional arguments:
name of the command to send to the YETI storage server (optional, see list bellow). If not provided the
graphic user interface will be used.
options:
-h, --help show this help message and exit
-v, --version show version number and exit.
--verbose display additional information during operations.
--configuration-file
JSon configuration file to use (default: yeti.json).
--source-container-name
name of a source container.
--destination-container-name
name of a destination container.
--source-object-name
name of a source object.
--destination-object-name
name of a destination object.
--source-local-file-name
name of a local file to read.
--destination-local-file-name
name of a local file to overwrite.
--create-symbolic-link
when duplicating an object, create a symbolic link instead of a copy.
--metadata-name
name of a custom metadata to set (without prefix). Any user defined metadata name can be used. Also, for
containers, metadata names "Quota-Bytes" and "Quota-Count" can be used to set quotas related respectively to
a size in bytes, or a maximum number of objects to be stored inside the container.
--metadata-value
value of a custom metadata to set.
--read-access-control-list
when provided with commands related to access control list, set the read access control list, format as
explained at `https://docs.openstack.org/swift/latest/overview_acl.html`.
--write-access-control-list
when provided with commands related to access control list, set the write access control list, format as
explained at `https://docs.openstack.org/swift/latest/overview_acl.html`.
--quota-bytes
when provided with the command container-set-quota, set the quota in bytes for all the objects in a
container. Providing an empty string as argument value will unset the bytes quota
--quota-count
when provided with the command container-set-quota, set the quota in number of objects in a container.
Providing an empty string as argument value will unset the count quota
Available commands are: server-info (display information about the Swift server). project-info (display information about a project).
project-set-metadata (set custom metadata of a project). container-list (display the list of containers). container-info (display
information about a container). container-create (create a new container). container-delete (delete a container). container-set-
metadata (set custom metadata of a container). container-set-access-control-list (set read and/or write access control list of a
container). container-set-quota (set bytes and/or count quota of a container). object-list (display the list of objects from a
container). object-info (display information about an objects from a container). object-retrieve (retrieve an object from a container
and store it in a local file). object-store (store an object into a container from a local file). object-duplicate (duplicate an
object from a container to another). object-remove (remove an object from a container). object-set-metadata (set custom metadata of
an object from a container).object-set-access-control-list (set read and/or write access control list of an object from a container).
Show server information
Display information related to the YETI server configuration and capabilities.