cells-enterprise admin files meta-put

./cells-enterprise admin files meta-put

Create or update a metadata entry for a node.

Synopsis

DESCRIPTION

Create or update a metadata entry for a node. For a given node Uuid, metadata are key/values of string/json-encoded strings.

EXAMPLE

$ ./cells-enterprise files meta-put --uuid=NODE_UUID --key=metaname --value='{"key":"value"}'

./cells-enterprise admin files meta-put [flags]

Options

  -h, --help          help for meta-put
  -k, --key string    Name of the metadata
  -u, --uuid string   Uuid of the node to update (use 'pydioctl data list' or 'pydioctl data read')
  -v, --val string    *JSON-encoded* string representing the value. Strings must be quoted, eg. '"custom-value"'

Options inherited from parent commands

      --broker string                     Pub/sub service for events between services (currently nats only) (default "nats")
      --broker_address string             Nats broker port (default ":4222")
      --registry_address string           Registry connection address (default ":4222")
      --registry_cluster_address string   Registry cluster address
      --registry_cluster_routes string    Registry cluster routes
      --transport string                  Transport protocol for RPC (default "grpc")
      --transport_address string          Transport protocol port (default ":4222")

SEE ALSO

Auto generated by Pydio Cells Enterprise Distribution v2.2.2 on 18-Feb-2021
Back to top