OsmAnd/build-scripts/wiki/download.sh

73 lines
1.5 KiB
Bash
Raw Normal View History

#!/bin/bash
2012-01-08 02:21:21 +01:00
function download {
echo "Start download $2";
2012-04-30 00:36:40 +02:00
wget --quiet --output-document="$2"_wiki."$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;
download en English;
2012-01-09 08:57:32 +01:00
download de German;
2012-04-30 11:30:04 +02:00
download nl Dutch;
download fr French;
download ru Russian;
download es Spanish;
2012-01-09 01:56:20 +01:00
download pl Polish;
download it Italian;
2012-01-09 01:56:20 +01:00
download ca Catalonian;
download pt Portuguese;
2012-01-09 01:56:20 +01:00
download uk Ukranian;
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 Farsi;
2012-01-09 01:56:20 +01:00
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 ;
2012-01-18 22:57:11 +01:00
download fy Frysk;
download af Africaans;
download hy Armenian;
download ml Malayalam;
download als Alsatian;
download sw Swahili;
download ta Tamil;
download nds LowSaxon;
2012-01-18 22:57:11 +01:00
download ku Kurdish;
download la Latin;
download ga Irish;
download nv Navajo;
download hi Hindi;
download hu Hungarian;
download te Telugu;
download ht Haitian;
2012-01-09 01:56:20 +01:00