Created
April 9, 2013 15:55
-
-
Save WPEtopher/5346895 to your computer and use it in GitHub Desktop.
List Child Accounts & Their Locations
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
php /nas/wp/www/tools/wpe.php customer-record-get PARENTSITE 1 | grep account_name | cut -d ' ' -f 15 > ~/sites.txt && while read site; do php /nas/wp/www/tools/wpe.php option-get $site cluster && echo " $site"; done < ~/sites.txt && rm ~/sites.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment