heres a quick and dirty way to do it
Code:
#!/bin/bash
for i in `zmprov gaa`
do
echo $i
zmprov ga $i | grep 'zimbraHideInGal: TRUE'
done
that will ech each account, and if it finds that attribute echo it below it so the output might look like
Code:
user1@domain.tld
user2@domain.tld
user3@domain.tld
zimbraHideInGal: TRUE
user4@domain.tld
useful if you're only hunting for a handful in a small account base. with a little work i'm sure you could use an if case to exclude the ones with false.