Created
July 23, 2020 17:55
-
-
Save thecancerus/0b317fa715464bd5638217a2ec178c5c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/usr/bin/env bash | |
# Back up Script to Amazon S3 | |
# Source: | |
# Author: Amit | |
#create array of sites based on folder names | |
SITELIST=($(ee site list --enabled | sed 's/\x1b\[[0-9;]*[a-zA-Z]//g')) | |
for SITE in ${SITELIST[@]}; do | |
ee site info $SITE | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment