geoipexport1
A program for exporting the geoip ip-to-country database
Usage
geoipexport [-bcfx]
bit_file
out_file1
[out_file2]
Overview
geoipexport exports the GeoIP bit database file from its binary form into one of several formats: binary, CSV, full CSV and XML.
Options
-
-b -
Export the specified database into a binary file
-
-c -
Export the specified database into a CSV file. Output doesn't include all fields.
-
-f -
Export the specified database into a CSV file. Output includes all fields.
-
-x -
Export the specified database into an XML file.
Return codes
geoipexport returns 0 on success, 1 on error.
Files
/etc//GeoIP.conf
Configuration file for GeoIP, should contain license key. If you don't own the license, you do needn't have this file.