Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 6 lines (5 sloc) 363 Bytes
#!/bin/sh
echo "Backing up week$WEEK..."
git add -A .; git commit -m "Weekend $WEEK final"; git push origin master
tar --use-compress-program=pigz --exclude='./.git' --exclude="*.tar.gz" -cvf ../week$WEEK.tar.gz .
aws s3 cp "../week$WEEK.tar.gz" s3://archive.pickaxe.club/ --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --region=us-east-1