This section explains how to use the
qq fs_set_user_metadata command.Description
Set or update a user metadata value for a file by using the specified metadata key and value
Usage
qq fs_set_user_metadata [-h] (--path PATH | --id ID) [--s3 | --well-known] --key KEY (--value VALUE | --hex-value HEX_VALUE | --base64-value BASE64_VALUE)
Flags
| Flag Name | Required | Description |
|---|---|---|
--path
|
No | File path |
--id
|
No | File ID |
--s3
|
No | Operate on S3 user metadata: the x-amz-meta-* headers of the object, keyed by the header name without the x-amz-meta- prefix. Without --s3 or --well-known, qq CLI commands manipulate generic metadata, which S3 shows as object tags. |
--well-known
|
No | Operate on well-known metadata, a fixed set of keys that Qumulo Core defines: the standard S3 object headers Cache-Control, Content-Disposition, Content-Encoding, Content-Language, Content-Type, and Expires. |
--key
|
Yes | Metadata key |
--value
|
No | Plaintext metadata value |
--hex-value
|
No | Hex-encoded metadata value |
--base64-value
|
No | Base64-encoded metadata value |