Project

General

Profile

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

root / bin / d7-all-who-is-admin.sh @ 6d91f38e

1
#!/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