You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Shell Script for importing geonames.org data dumps into a MySQL database.
1
+
### V 2.0 Shell Script for importing geonames.org data dumps into a MySQL database.
2
2
3
+
Usage: geonames_importer.sh -a "action"
4
+
5
+
Where "action" can be:
6
+
7
+
-**download-data** Downloads the last packages of data available in GeoNames. An additional parameter with a download directory should be used.
8
+
-**create-db** Creates the mysql database structure with no data.
9
+
-**create-tables** Creates the tables in the current database. Useful if we want to import them in an exsiting db.
10
+
-**import-dumps** Imports geonames data into db. A database is previously needed for this to work.
11
+
-**drop-db** Removes the db completely.
12
+
-**truncate-db** Removes geonames data from db.
13
+
3
14
Please, visit the <ahref="http://codigofuerte.github.com/GeoNames-MySQL-DataImport"target="_blank">project's web site</a> for a more detailed information.
0 commit comments