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

9.13. swift upload


Usage: swift upload
Uploads specified files and directories to the given container.

Positional arguments

<container>


        Name of container to upload to.

<file_or_directory>


        Name of file or directory to upload. Specify multiple
      times for multiple uploads.

Optional arguments

-c, --changed


        Only upload files that have changed since the last
      upload.

--skip-identical


        Skip uploading files that are identical on both sides.

-S, --segment-size <size>


      Upload files in segments no larger than <size> (in
      Bytes) and then create a "manifest" file that will
      download all the segments as if it were the original
      file.

--segment-container <container>


      Upload the segments into the specified container. If
      not specified, the segments will be uploaded to a
      <container>_segments container to not pollute the
      main <container> listings.

--leave-segments


        Indicates that you want the older segments of manifest
      objects left alone (in the case of overwrites).

--object-threads <threads>


      Number of threads to use for uploading full objects.
      Default is 10.

--segment-threads <threads>


      Number of threads to use for uploading object segments.
      Default is 10.

-H, --header <header:value>


      Adds a customized request header. This option may be
      repeated. Example: -H "content-type:text/plain"
      -H "Content-Length: 4000".

--use-slo


        When used in conjunction with --segment-size it will
      create a Static Large Object instead of the default
      Dynamic Large Object.

--object-name <object-name>


      Upload file and name object to <object-name> or upload
      dir and use <object-name> as object prefix instead of
      folder name.

--ignore-checksum


        Turn off checksum validation for uploads.

Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

会社概要

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

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

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

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

Legal Notice

Theme

© 2026 Red Hat
トップに戻る