root / bin / d7-all-who-is-admin.sh @ 87a19b69
1 | be958c5c | Julien Enselme | #!/bin/sh |
---|---|---|---|
2 | |||
3 | 06e9d071 | Assos Assos | . /home/assos/bin/scripts-config.sh |
4 | be958c5c | Julien Enselme | |
5 | 683f57f9 | Julien Enselme | for dir in $(find $d7_dir_sites -maxdepth 1 -mindepth 1 -type d ! -name all | sort) ; do |
6 | be958c5c | Julien Enselme | cd $dir |
7 | echo $dir |
||
8 | 683f57f9 | Julien Enselme | drush sqlq "SELECT name, mail FROM users WHERE uid IN (SELECT uid FROM users_roles WHERE rid=3);" |
9 | be958c5c | Julien Enselme | done |