/ Published in: Bash
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
Copy this code and paste it in your HTML
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
URL: http://drupal.org/project/drush