Bash script to download the GeoLite2 database and rename the directory
Clone or download
Latest commit 453d3aa May 31, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit May 31, 2018
README.md Update README.md May 31, 2018
geoupdate.sh Create geoupdate.sh May 31, 2018

README.md

geolite2-download-script

Bash script to download the GeoLite2 database and rename the directory

Requirements

Should work with any Linux distro with standard tools installed (wget, tar, etc...).
Tested on Ubuntu 16.04.

Usage

The script runs out of root's crontab once a month.
5 4 15 * * /custom/scripts/geolite/geoupdate.sh >/dev/null 2>&1