Projet

Général

Profil

Paste
Télécharger (277 octets) Statistiques
| Branche: | Révision:

root / bin / d7-all-who-is-admin.sh @ 95df3862

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