/ Published in: Bash
URL: http://drupal.org/project/drush
A bash script that calls Drush for all your multisite sites and returns a list of available and installed modules for each site.
Expand |
Embed | Plain Text
for site in $(ls ./sites/*/settings.php); do uri= ${ echo $site | awk -F '/' '{ print $1 }' }; ./sites/all/modules/drush/drush.php -l $uri -sql sql query 'SELECT name, status, filename from system ORDER BY status DESC, weight ASC"; done
You need to login to post a comment.
