add geonames.org mirroring script

This commit is contained in:
Oliver Ladner 2018-12-12 22:16:15 +01:00
commit a49a96264f
2 changed files with 21 additions and 0 deletions

10
wget.sh Executable file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env bash
#
# Downloads all relevant data from geonames.org
domain='http://download.geonames.org'
path='/export/dump/'
relevantfiles='wget_files.txt'
target='/var/www/virtsrv/mirror.lugh.ch/geonames.org/'
wget -q -N -i $relevantfiles -P $target