Armisis Aieoln wrote:
> 
> How can I use rsync to make my download of cooker only download the files
> nessary for English, so I dont waist download time with language files I dont
> use?
> 
> Thanks
> 
> Dave
> 
> -------------------------------------------------------
I copied this file from a special version of rsync on someones
's website somewhere.  I can't remember exactly where but credit goes to
them.  The exclude file will cut off about 250 megs of download.  Here's
the command with my favorite rsync servers (you can substitute your own 
server and change the switches and path as needed):

rsync -avu --delete --delete-excluded --exclude-from=/rsync_exclude 
rsync://rsync.kddlabs.co.jp/cooker/cooker/ /mnt/hda6/

rsync -avu --delete --delete-excluded --exclude-from=/rsync_exclude 
rsync://rsync.proxad.net/mandrake-devel/cooker/ /mnt/hda6/

rsync -avu --delete --delete-excluded --exclude-from=/rsync_exclude 
rsync://ftp.sunet.se/Mandrake-devel/cooker/ /mnt/hda6/

rsync -avu --delete --delete-excluded --exclude-from=/rsync_exclude 
rsync://ftp.wtfo.com/man-devel/cooker/ /mnt/hda6/

Each of those rsync commands is only one line though they are written as
two lines because of the editor.

and the rsync_exclude file:
-------------------------snip here----------------------------
- 6.0
- 6.1
- 7.0
- 7.1
- 7.2beta
- SRPMS/
- ls-lR
- src/
- alpha/
- sparc/
- XFree86-cyrillic-fonts-*
- app-defaults-??-*
- bayonne-French?-*
- gcc-fr-*
+ locale/en_GB/
- locale/
+ **/perl-install/
- **/perl-install/po/??_??.po
- **/po/??.po
+ **/install/uk/
+ **/install/uk_cp1251/
- **/install/??/
- **/install/??_??/
+ aspell-en*
- aspell-??-*
- aspell-??_??-*
+ ispell-en-*
- ispell-??-*
- ispell-??_??-*
+ locales-?.?-*
+ locales-en-*
- locales*
- man-pages-??-*
+ howto-html-en-*
- howto-html-??-*
+ howto-sgml-en-*
- howto-sgml-??-*
+ howto-ps-en-*
- howto-ps-??-*
- howto-text-??-*
+ fonts-hebrew-elmar-*
+ fonts-ttf-decoratives-*
+ fonts-ttf-west_european-*
- fonts-ttf-*
- fonts-type1-*
- linuxconf-lang-??-*
+ kde-i18n-British-*
- kde-i18n-*
- netscape-castellano-*
- netscape-catalan-*
- netscape-euskara-*
- netscape-francais-*
- netscape-german-*
- netscape-russian-*
- netscape-sparc-francais-*
- netscape-walon-*
- netscape-polish-*
- netscape-spanish-*
- netscape-japanese-*
+ mandrake_doc-en-*
- mandrake_doc-??-*
- hackkernel-source-*
- hackkernel-smp-*
- tetex-latex-heb
+ *-html-en-*
- *-html-??-*
+ hd.img
+ hdreiser.img
+ cdrom.img
- *.img
+ hd.rdz
+ cdrom.rdz
- *.rdz
- kernel-smp-*
- kernel-linus*
- kernel??-smp-*

------------------------------snip here------------------

This copies the same set of files you would find on a mandrake cd. 
There is more if you go up one branch on the directory into
mandrake-devel but that's way too much for me.  As is it's 1.1 GB
(1,189,304,024 bytes).

Reply via email to