Skip to content

Instantly share code, notes, and snippets.

@gnomeria
Created April 28, 2020 14:12
Show Gist options
  • Save gnomeria/e0e9386a426d85f7a22326fdefb41ad6 to your computer and use it in GitHub Desktop.
Save gnomeria/e0e9386a426d85f7a22326fdefb41ad6 to your computer and use it in GitHub Desktop.
Cloud CLI Gists (AWS, GCP)

AWS CLI

Get list of objects and download in parallel:

cat list_objects.txt | xargs -n 1 -P 8 -I % aws s3 cp s3://${BUCKET_NAME}/% ./

-P num of parallel process

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment