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