並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 14 件 / 14件

新着順 人気順

gsutilの検索結果1 - 14 件 / 14件

  • 【エラー】gsutil TypeError: cannot pickle '_io.TextIOWrapper' object - ITips

    Python 【エラー】gsutil TypeError: cannot pickle '_io.TextIOWrapper' object コマンドラインからGoogle Cloud Storage (GCS) を操作することができる gsutil パッケージ。 GCSからファイルをコピーする際に gsutil cp コマンドを使うのだが、複数ファイルの場合直列に処理すると遅い。 そこで並列に処理するために gsutil -m cp を実行したら以下のエラーが発生した。 gsutil TypeError: cannot pickle '_io.TextIOWrapper' object 一体何が間違っているのだろうか。 今回はこの gsutil TypeError: cannot pickle '_io.TextIOWrapper' object のエラー原因と対処法について解説する。

      【エラー】gsutil TypeError: cannot pickle '_io.TextIOWrapper' object - ITips
    • gsutil cpでリストで指定したファイルをコピーする方法 - ITips

      開発者がコマンドラインからGoogle Cloud Storage (GCS) を操作できるようにした gsutil パッケージ。 複数のファイルをGCPにコピーする場合は gsutil cp コマンドを並列に処理する為に gsutil -m cp src_dir/*.txt gs://my-bucket といった感じで使う。 複数コピーは可能だが、指定したファイルのみ複数コピーするにはどうしたらよいのか。

        gsutil cpでリストで指定したファイルをコピーする方法 - ITips
      • gsutilで"argument list too long"エラーが出る原因 - ITips

        コマンドラインからGoogle Cloud Storage (GCS) を操作することができる gsutil パッケージ。 複数のファイルをGCPにコピーする場合は gsutil cp コマンドを並列に処理する為に gsutil -m cp といった感じで使う。 しかしあるとき以下のようなエラーが発生した。 Argument list too long この Argument list too long エラーは何故発生したのか。 回避する方法はあるのか。 今回はそんな問題を解決するために、「gsutilで"argument list too long"エラーが出る原因」を解説する。

          gsutilで"argument list too long"エラーが出る原因 - ITips
        • gsutilコマンド全部試したので解説する(part1)

          ※2 … help コマンドについては後ほど説明します。 gsutilの基本コマンドを解説する 今回は Linux などでも馴染みの深いコマンドと、gsutil の基本的なコマンドを合わせて下記の14個を解説します。理解を深めるために実際にコマンドを実行することをお勧めします。 help version update test ls mb rb cp rm mv rsync cat du hash help コマンド help コマンドは gsutil サブコマンドの利用方法を確認するためのコマンドです。help コマンドを使って「cp」コマンドの利用方法を確認する場合は以下のコマンドを実行します。 例1-1 「cp」コマンドの利用方法を確認するコマンド コード $ gsutil help cp NAME cp - Copy files and objects SYNOPSIS・・・(1)

            gsutilコマンド全部試したので解説する(part1)
          • gsutilでGCSバケット内のファイル数を数える方法 - ITips

            Googleのクラウド環境上にファイルを保存できるGoogle Cloud Storage (GCS)。 GCSを使っていると、バケットのなかに保存したファイルがいくつあるのか数えたくなることがある。 しかし数が多いとブラウザ上で数えるのは大変。 そこでGCSをコマンドで操作できるようにした gsutil パッケージを利用して数える。 今回は、「gsutilでGCSバケット内のファイル数を数える方法」を解説する。

              gsutilでGCSバケット内のファイル数を数える方法 - ITips
            • Google Play Storeの評価とレビューをgsutilで取得 - Qiita

              注意事項 gsutilで取得できるCSVは大体1日一回更新のため、リアルタイムでレビューを取得したい場合には不向きです。リアルタイムにレビューを取得したい場合は、play.google.comから取得する事をおすすめします。 参考: https://github.com/punchdrunker/kansou 概要 以前からストアのレビューを自動で取得しているのですが、年に数回レビューページのhtmlのDOMが変更されるたび、取得できなくなり、都度修正が必要になり困っていたのですが、 気付いたらこの通り https://support.google.com/googleplay/android-developer/answer/138230#export_ratings_and_reviews 、Google Could Storage経由でAndroidアプリのストアレビューをCSV形式

                Google Play Storeの評価とレビューをgsutilで取得 - Qiita
              • GCPサービスアカウントでgsutilを利用したりAPIアクセスする方法 - kikumotoのメモ帳

                GCPのリソース、例えばGoogle Cloud Storageにアクセスする際に個人のアカウントを使って gcloud auth login などで認証すればgsutilでアクセスできるけれど、サーバーサイドのアプリケーションなどからアクセスする場合は個人のアカウントで認証したくはないですね。 このような用途のためにGCPにはサービスアカウントというのがあるようです。このサービスアカウントを使ってGCPリソースにアクセスする方法についてメモっておきます。 サービスアカウントの取得 Google Developer Consoleの "APIs & auth" -> "Credentials" -> "Add credentials" から "Service account" を選択します。 そうすると Key type として "JSON" か "P12" を選択できるので、"JSON"

                  GCPサービスアカウントでgsutilを利用したりAPIアクセスする方法 - kikumotoのメモ帳
                • gsutil tool  |  Cloud Storage  |  Google Cloud

                  Send feedback gsutil tool Stay organized with collections Save and categorize content based on your preferences. gsutil is a Python application that lets you access Cloud Storage from the command line. You can use gsutil to do a wide range of bucket and object management tasks, including: Creating and deleting buckets. Uploading, downloading, and deleting objects. Listing buckets and objects. Movi

                    gsutil tool  |  Cloud Storage  |  Google Cloud
                  • gsutil ツール  |  Cloud Storage  |  Google Cloud

                    フィードバックを送信 gsutil ツール コレクションでコンテンツを整理 必要に応じて、コンテンツの保存と分類を行います。 gsutil は、コマンドラインから Cloud Storage にアクセスできる Python アプリケーションです。gsutil を使用すると、次のような、バケットやオブジェクトの幅広い管理作業を行うことができます。 バケットの作成と削除 オブジェクトのアップロード、ダウンロード、削除 バケットとオブジェクトの一覧表示 オブジェクトの移動、コピー、名前変更 オブジェクトやバケットの ACL の編集 gsutil は、HTTPS と Transport Layer Security(TLS)を使用して、アップロードとダウンロードを含むすべてのオペレーションを実行します。 gsutil を使用するべきかどうか 通常は、gsutil コマンドの代わりに gcloud

                      gsutil ツール  |  Cloud Storage  |  Google Cloud
                    • Install gsutil  |  Cloud Storage  |  Google Cloud

                      To download the Linux archive file, run the following command: curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-linux-x86_64.tar.gz Refer to the table above and replace google-cloud-cli-linux-x86_64.tar.gz with the *.tar.gz package name that applies to your configuration. To extract the contents of the file to your file system (preferably to your home directory),

                        Install gsutil  |  Cloud Storage  |  Google Cloud
                      • gsutil をインストールする  |  Cloud Storage  |  Google Cloud

                        Linux アーカイブ ファイルをダウンロードするには、次のコマンドを実行します。 curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-473.0.0-linux-x86_64.tar.gz 上記の表を参照し、google-cloud-cli-473.0.0-linux-x86_64.tar.gz を構成に適用される *.tar.gz パッケージ名に置き換えてください。 ファイルのコンテンツをファイル システム(できればホーム ディレクトリ)に抽出するには、次のコマンドを実行します。 tar -xf google-cloud-cli-473.0.0-linux-x86_64.tar.gz 省略可: 既存のインストールを置き換えるには、既存の google-cloud-sdk

                          gsutil をインストールする  |  Cloud Storage  |  Google Cloud
                        • gsutil copy returning "AccessDeniedException: 403 Insufficient Permission" from GCE

                          I am logged in to a GCE instance via SSH. From there I would like to access the Storage with the help of a Service Account: GCE> gcloud auth list Credentialed accounts: - 1234567890-compute@developer.gserviceaccount.com (active) I first made sure that this Service account is flagged "Can edit" in the permissions of the project I am working in. I also made sure to give him the Write ACL on the buck

                            gsutil copy returning "AccessDeniedException: 403 Insufficient Permission" from GCE
                          • GitHub - GoogleCloudPlatform/gsutil: A command line tool for interacting with cloud storage services.

                            You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                              GitHub - GoogleCloudPlatform/gsutil: A command line tool for interacting with cloud storage services.
                            • gsutilでアップロードしたファイルがgcsfuseでマウントした場合に見えない - Qiita

                              Google Cloud Storage(GCS)へのファイルアップロードは、gcloud sdkについていたgsutilを使う方法と、gcsfuseを使って自分のPCやインスタンスにmountして触る方法の二つあります。 gsutil Tool Cloud Storage FUSE gsutilはgcloud sdkに付属しているのでインストールの手間が少なくていいですし、 rsync機能やマルチプロセスオプション(-m)などもついています。 s3から直接移動とかも可能です。 比較的古くからあるのでドキュメントやナレッジが豊富です。 GCSFuse GCSFuseは比較的新しいツールで、しかもGoで書かれているので高速かもしれません。 参考:GCS Fuse また、OSX/Linuxにストレージとしてマウントして扱えるので、S3等と同じように触れるのが利点でしょう。 gcloud sdk

                                gsutilでアップロードしたファイルがgcsfuseでマウントした場合に見えない - Qiita
                              1