このコンテンツは選択した言語では利用できません。

9.8. swift download


Usage: swift download
Copy to Clipboard Toggle word wrap
Download objects from containers.

Positional arguments

<container>


        Name of container to download from. To download a
      whole account, omit this and specify --all.

<object>


        Name of object to download. Specify multiple times
      for multiple objects. Omit this to download all
      objects from the container.

Optional arguments

-a, --all


        Indicates that you really want to download
      everything in the account.

-m, --marker <marker>


        Marker to use when starting a container or account
      download.

-p, --prefix <prefix>


        Only download items beginning with <prefix>

-r, --remove-prefix


        An optional flag for --prefix <prefix>, use this
      option to download items without <prefix>

-o, --output <out_file>


      For a single file download, stream the output to
      <out_file>. Specifying "-" as <out_file> will
      redirect to stdout.

-D, --output-dir <out_directory>


      An optional directory to which to store objects.
      By default, all objects are recreated in the current
      directory.

--object-threads <threads>


      Number of threads to use for downloading objects.
      Default is 10.

--container-threads <threads>


      Number of threads to use for downloading containers.
      Default is 10.

--no-download


        Perform download(s), but don't actually write anything
      to disk.

-H, --header <header:value>


      Adds a customized request header to the query, like
      "Range" or "If-Match". This option may be repeated.
      Example: --header "content-type:text/plain"

--skip-identical


        Skip downloading files that are identical on both
      sides.

--ignore-checksum


        Turn off checksum validation for downloads.

--no-shuffle


        By default, when downloading a complete account or
      container, download order is randomised in order to
      reduce the load on individual drives when multiple
      clients are executed simultaneously to download the
      same set of objects (e.g. a nightly automated download
      script to multiple servers). Enable this option to
      submit download jobs to the thread pool in the order
      they are listed in the object store.

トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2025 Red Hat