view · edit · sidebar · attach · print · history

<< SendingLimits | Index | EditDomainFromIpad >>

Use gtool to manage your Google-Apps

git clone git://github.com/adrienthebo/ruby-gprov
git clone git://github.com/adrienthebo/gtool

export RUBYLIB="${RUBYLIB}:`pwd`/ruby-gprov/lib:`pwd`/gtool/lib"
export PATH="${PATH}:`pwd`/gtool/bin"

% gtool # magic!

Add multiple groups to a user

cat groups_for_user.txt | xargs -n1 -I {} gtool group addmember {} member@your.domain

Add multiple users to a Group

cat group_members.txt | xargs -n1 -I {} gtool group addmember yourgroup {}

  • If you want the 'go really fast' option, use xargs -P10. It'll run 10 instances of gtool simultaneously.

Limits

view · edit · sidebar · attach · print · history
Page last modified on July 04, 2012, at 02:10 PM