Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

twc-rs s3

Manage S3 storages

SubcommandDescription
listList all S3 storages
infoShow detailed info for a storage
createCreate a new S3 storage
deleteDelete a storage by ID
updateUpdate storage settings
user-listList users for a storage
user-updateUpdate a storage user
transferTransfer a storage
subdomain-listList subdomains for a storage
subdomain-addAdd a subdomain to a storage
subdomain-deleteDelete a subdomain from a storage
preset-listList available storage presets
genconfigPrint an s3cmd config file for a storage

twc-rs s3 list

List all S3 storages

ArgumentDescriptionRequiredEnvDefault
--limitMaximum number of storages to return
--offsetNumber of storages to skip
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs s3 info

Show detailed info for a storage

ArgumentDescriptionRequiredEnvDefault
--idStorage IDyes
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs s3 create

Create a new S3 storage

ArgumentDescriptionRequiredEnvDefault
--nameStorage nameyes
-p, --preset-idPreset ID for the storage
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs s3 delete

Delete a storage by ID

ArgumentDescriptionRequiredEnvDefault
--idStorage IDyes
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs s3 update

Update storage settings

ArgumentDescriptionRequiredEnvDefault
--idStorage IDyes
--descriptionNew storage description
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs s3 user-list

List users for a storage

ArgumentDescriptionRequiredEnvDefault
--idStorage IDyes
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs s3 user-update

Update a storage user

ArgumentDescriptionRequiredEnvDefault
--user-idStorage user IDyes
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs s3 transfer

Transfer a storage

ArgumentDescriptionRequiredEnvDefault
--target-idTarget storage ID (reserved for future use)
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs s3 subdomain-list

List subdomains for a storage

ArgumentDescriptionRequiredEnvDefault
--idStorage IDyes
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs s3 subdomain-add

Add a subdomain to a storage

ArgumentDescriptionRequiredEnvDefault
--idStorage IDyes
--subdomainSubdomain nameyes
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs s3 subdomain-delete

Delete a subdomain from a storage

ArgumentDescriptionRequiredEnvDefault
--idStorage IDyes
--subdomainSubdomain nameyes
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs s3 preset-list

List available storage presets

ArgumentDescriptionRequiredEnvDefault
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE

twc-rs s3 genconfig

Print an s3cmd config file for a storage

ArgumentDescriptionRequiredEnvDefault
--idStorage IDyes
-f, --formatOutput format: table (default), json, yaml, or quietTWC_OUTPUTtable
-t, --tokenAPI token override (overrides config file and TWC_TOKEN env)TWC_TOKEN
--profileUse a named profile’s token from the config fileTWC_PROFILE