Skip to content

Instantly share code, notes, and snippets.

@pditommaso
Created June 29, 2018 20:28
Show Gist options
  • Save pditommaso/7a5c29776733939a25381c845162a737 to your computer and use it in GitHub Desktop.
Save pditommaso/7a5c29776733939a25381c845162a737 to your computer and use it in GitHub Desktop.
{ cat <<EOF
aws s3 ls s3://bucket/prefix1
aws s3 ls s3://bucket/prefix2
aws s3 ls s3://bucket/prefix3
EOF
} | xargs -I{} -P 10 bash -c "{}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment