Project

General

Profile

Paste
Download (270 Bytes) Statistics
| Branch: | Revision:

root / bin / d7-all-who-is-admin.sh @ 06e9d071

1
#!/bin/sh
2

    
3
. /home/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