Copy file to local google storage via command line (like gsutil cp)
google-app-engine, google-cloud-storage
Solution
Since GCS local storage (localhost:8000/_ah/gcs/app_default_bucket) is mapped to /tmp/storage directory (at least on Linux) and cp command supports directory destination, copying files from a bucket to local storage is just a matter of:
gsutil -m cp -r gs://[my-bucket] /tmp/storage
Problem
To emulate production, I want to copy a file to my local google storage (app_default_bucket) maintained by the app engine launcher. This is performed via 'gsutil cp' in production. I would like to do the same locally. Possible? I would like to avoid writing an app just for local use.