Search This Blog

Tuesday, November 13, 2018

How to copy files from Amazon S3 to Google Cloud Storage

gsutil -m cp -R s3://it.i88.ca gs://it.i88.ca

For Amazon S3, you can sync:

s3cmd sync --delete-removed local_dir s3://it.i88.ca

For Google Cloud Storage, you can set the noclobber flag (-n) on the cp command to skip existing files/folders.