2012-01-09 01:14:43 +01:00
|
|
|
#!/bin/bash
|
2012-01-08 02:21:21 +01:00
|
|
|
function download {
|
2012-01-09 01:14:43 +01:00
|
|
|
echo "Start download $2";
|
|
|
|
wget --quiet --output-document="$2"_wiki_1."$1".xml.bz2 http://dumps.wikimedia.org/"$1"wiki/latest/"$1"wiki-latest-pages-articles.xml.bz2
|
2012-01-08 02:21:21 +01:00
|
|
|
}
|
2012-01-09 08:57:32 +01:00
|
|
|
cd ~/wiki/src;
|
2012-01-09 01:14:43 +01:00
|
|
|
download en English;
|
2012-01-09 08:57:32 +01:00
|
|
|
download de German;
|
2012-01-09 01:14:43 +01:00
|
|
|
download nl Netherlands;
|
|
|
|
download fr French;
|
|
|
|
download ru Russian;
|
|
|
|
download es Spanish;
|
2012-01-09 01:56:20 +01:00
|
|
|
download pl Polish;
|
2012-01-09 01:14:43 +01:00
|
|
|
download it Italian;
|
2012-01-09 01:56:20 +01:00
|
|
|
download ca Catalonian;
|
2012-01-09 01:14:43 +01:00
|
|
|
download pt Portuguese;
|
2012-01-09 01:56:20 +01:00
|
|
|
download uk Ukranian;
|
2012-01-09 01:14:43 +01:00
|
|
|
download ja Japanese;
|
2012-01-09 01:56:20 +01:00
|
|
|
download vo Volapuk;
|
|
|
|
download vi Vietnamese;
|
|
|
|
download eu Basque;
|
|
|
|
download no Norwegian;
|
|
|
|
download da Danish;
|
|
|
|
download sv Swedish;
|
|
|
|
download sr Serbian;
|
|
|
|
download eo Esperanto;
|
|
|
|
download ro Romanian;
|
|
|
|
download lt Lithuanian;
|
|
|
|
download fa Persian;
|
|
|
|
download cs Czech;
|
|
|
|
download ms Malay;
|
|
|
|
download zh Chinese;
|
|
|
|
download id Indonesian;
|
|
|
|
download fi Finnish;
|
|
|
|
download bg Bulgarian;
|
|
|
|
download et Estonian;
|
|
|
|
download hr Croatian;
|
|
|
|
download sk Slovak;
|
|
|
|
download nn NorwegianNynorsk;
|
|
|
|
download ko Korean;
|
|
|
|
download sl Slovene;
|
|
|
|
download el Greek;
|
|
|
|
download he Hebrew;
|
|
|
|
download ar Arabic ;
|
|
|
|
download tr Turkish;
|
|
|
|
download th Thai;
|
|
|
|
download be Belarusian;
|
|
|
|
download ka Georgian;
|
|
|
|
download mk Macedonian;
|
|
|
|
download lv Latvian;
|
|
|
|
download lb Luxembourgish;
|
|
|
|
download os Ossetian;
|
|
|
|
download gl Galician ;
|
|
|
|
|
|
|
|
|