Skip to content

Instantly share code, notes, and snippets.

@oivoodoo
Created January 15, 2018 12:08
Show Gist options
  • Select an option

  • Save oivoodoo/f8b7abcd46d7cf1eb87058ffaec0232c to your computer and use it in GitHub Desktop.

Select an option

Save oivoodoo/f8b7abcd46d7cf1eb87058ffaec0232c to your computer and use it in GitHub Desktop.
#!/bin/sh
CLUSTER_ID=$1
(mkdir $CLUSTER_ID || true) && cd $CLUSTER_ID
aws s3 cp s3://bworks-bi-emr-logs/prod/spark/$CLUSTER_ID . --recursive --profile blastworks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment