Skip to content

Instantly share code, notes, and snippets.

@michaelminter
Created September 12, 2019 18:04
Show Gist options
  • Save michaelminter/3bd82ebcddd87e8187aea39eae265e5d to your computer and use it in GitHub Desktop.
Save michaelminter/3bd82ebcddd87e8187aea39eae265e5d to your computer and use it in GitHub Desktop.
Download files from S3 on command line
ssh -fN -L 5433:db.prod:5432 bastion-prod
aws s3 cp s3://<dir>/prod/ . --recursive --exclude "*" --include "201901*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment