Thread Previous • Date Previous • Date Next • Thread Next |
Hi Cirilo,
I think that script is pretty good for the initial pull. With a little work to check if a directory exists (in which case 'pull' instead of 'clone') it will be much better.
For continued "git pull" one just iterates over the existing subdirectories. No python required. ----- cut here ----- for i in $(find . -mindepth 1 -maxdepth 1 -type d) ; do cd $i ; git pull ; cd .. ; done ----- cut here ----- Regards Johannes
Thread Previous • Date Previous • Date Next • Thread Next |