Skip to content

Instantly share code, notes, and snippets.

@rslonik
Created September 11, 2019 22:39
Show Gist options
  • Save rslonik/8973426885ba723f3e141c0f40ae45fb to your computer and use it in GitHub Desktop.
Save rslonik/8973426885ba723f3e141c0f40ae45fb to your computer and use it in GitHub Desktop.
do something to all sites in easy engine install
for site in `ee site list | grep -v example.com | sort | sed 's/\x1B\[[0-9;]*[JKmsu]//g'`
do
echo $site
#scp host:file.txt /var/www/$site/htdocs/
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment