Skip to content

Instantly share code, notes, and snippets.

@gnufs
Created April 4, 2011 05:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gnufs/901177 to your computer and use it in GitHub Desktop.
Save gnufs/901177 to your computer and use it in GitHub Desktop.
Clone and update all LibreOffice repositories
#!/bin/bash
# Clone and update LibreOffice repositories
# Browse repos at http://cgit.freedesktop.org/libreoffice
Repo=('artwork' 'base' 'bootstrap' 'build' 'calc' 'components' 'contrib/buildbot' 'contrib/dev-tools' 'contrib/dumper' 'contrib/ooeclipse' 'contrib/svn-to-git' 'contrib/test-files' 'extensions' 'extras' 'filters' 'help' 'impress' 'l10n' 'libs-core' 'libs-extern-sys' 'libs-extern' 'libs-gui' 'postprocess' 'sdk' 'testing' 'translations' 'ugly' 'ure' 'writer');
for (( i = 0; i < ${#Repo[@]}; i++ ))
do
echo "cloning ${Repo[i]}"
git clone git://anongit.freedesktop.org/libreoffice/${Repo[i]}
cd ${Repo[i]} && git pull && cd ..
done
@gnufs
Copy link
Author

gnufs commented Apr 4, 2011

$ du -sh libo libo/*
6.1G    libo
158M    libo/artwork
33M libo/base
39M libo/bootstrap
236M    libo/build
344K    libo/buildbot
106M    libo/calc
69M libo/components
104K    libo/dev-tools
137M    libo/extensions
106M    libo/extras
153M    libo/filters
47M libo/help
40M libo/impress
2.3G    libo/l10n
241M    libo/libs-core
66M libo/libs-extern
444M    libo/libs-extern-sys
133M    libo/libs-gui
7.3M    libo/ooeclipse
764K    libo/postprocess
21M libo/sdk
576K    libo/svn-to-git
24M libo/test-files
218M    libo/testing
1.4G    libo/translations
201M    libo/ugly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment