Created
December 23, 2018 15:56
-
-
Save benwiz/1848045fe360dc2f264e5c9b991e1bbf to your computer and use it in GitHub Desktop.
Sync a folder on my computer with an S3 folder in my S3 archive bucket
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# TODO: Should take `DEST_DIR` as a required input | |
aws s3 sync . s3://benwiz-archive/$DEST_DIR --profile personal --exclude "*node_modules/*" --exclude "*venv/*" --exclude "*.DS_Store" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment