swift(1) OpenStack Swift swift(1) (NAME) swift - OpenStack Swift (SYNOPSIS) swift [options] [args] (DESCRIPTION) swift OpenStack Object Storage (Swift) . . (COMMANDS) stat [command-options] [container] [object] ( ) (account) (container) (object) . (verbose) URL . --lh ls -lh . list [command-options] [container] . -p --prefix . -d --delimiter ( ) ( OpenStack Swift ). -l --long --lh ls -l ls -lh ( 3K 12M ) . . -t --total . upload [command-options] container file_or_directory [file_or_directory] [...] . -c --changed . --object-name . "-" . --object-name . -S --segment-size --leave-segments ( swift upload --help ). post [command-options] [container] [object] (meta information) . . -r ( --read-acl) -w ( --write-acl) . -m --meta Name:Value . . swift post --help . : post -m Color:Blue -m Size:Large copy [command-options] container object ( post ). --destination /container/object . . -M --fresh-metadata . -m --meta Name:Value ( ). swift copy --help . download [command-options] [container] [object] [object] [...] ( --all) . -o [--output] "-" (stdout) --no-download . --ignore- checksum (checksum) . cURL -H [--header] . swift download --help . --ignore-mtime x-object-meta-mtime ( ) atime mtime . delete [command-options] [container] [object] [object] [...] ( --all) ( --prefix) . (segments) --leave-segments . swift delete --help . capabilities [command-options] [proxy-url] . proxy-url storage-url proxy-url . (middlewares) Swift . Swift . --json json . jq . : capabilities https://swift.example.com capabilities --json tempurl [command-option] method time path key URL HTTP TempURL Swift . URL ISO 8601 : : YYYY-MM-DD ( 1997-07-16) : YYYY-MM-DDThh:mm:ss ( 1997-07-16T19:20:30) UTC: YYYY-MM-DDThh:mm:ssZ ( 1997-07-16T19:20:30Z). (locale timezone) . 00:00:00 . --prefix-based URL . --iso8601 ISO 8601 UTC URL . --absolute time URL . : tempurl GET $(date -d "Jan 1 2016" +%s) /v1/AUTH_foo/bar_container/quux.md my_secret_tempurl_key --absolute auth auth (shell friendly) . swift auth --help . (OPTIONS) --version -h, --help ( ) -v, --verbose -q, --quiet -A AUTH, --auth=AUTH URL -U USER, --user=USER -V 1|2, --auth-version=VERSION -K KEY, --key=KEY --os-storage-url=URL URL auth --os-help OpenStack swift --help swift --os-help . (EXAMPLES) swift -A https://127.0.0.1:443/auth/v1.0 -U swiftops:swiftops -K swiftops stat Account: AUTH_43b42dae-dc0b-4a4b-ac55-97de614d6e6e Containers: 1 Objects: 1 Bytes: 1124 Accept-Ranges: bytes X-Trans-Id: txb21186a9eef64ed295a1e95896a0fc72 (DOCUMENTATION) OpenStack Swift : https://docs.openstack.org/swift/latest Linux 8/26/2011 swift(1)