View s3-undelete.sh
#!/bin/bash | |
# | |
# This script can be used to undelete objects from an S3 bucket. | |
# When run, it will print out a list of AWS commands to undelete files, which you | |
# can then pipe into Bash. | |
# | |
# e.g.: s3-undelete.sh <options> > files.txt; cat files.txt | bash | |
# | |
# You will need the AWS CLI tool from https://aws.amazon.com/cli/ in order to run this script. | |
# |
View backup-website
#!/bin/bash | |
# | |
# Download a copy of a website, with (hopefully) working links, | |
# and tar it up to a single file. | |
# | |
# Errors are fatal | |
set -e |
OlderNewer