By seanr on
I've been attempting to create a command that will search through all of my sites on a shared server and run cvs up in a particular module's (crmngp) directory. Here's what I tried:
find . -type d -name "crmngp" -print -exec cvs -n -q up -d -C {}\;
Says it can't find CVSROOT
find . -type d -name "crmngp" -print -exec cd {} + cvs -n -q up -d -C \;
Says it can't find the directory
find . -type d -name "crmngp" -print | while read dir; do (cd $dir && cvs -n -q up -d -C); done
Just hangs.
How can I do this. I've got fifty sites on this server and I _really_ don't want to do this manually.