Skip to content

Commit 61c7bb7

Browse files
author
Sergio Cruz Moral
authored
Updates README.md for V 2.0
1 parent 68cbdcf commit 61c7bb7

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1-
### 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.
22

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+
314
Please, visit the <a href="http://codigofuerte.github.com/GeoNames-MySQL-DataImport" target="_blank">project's web site</a> for a more detailed information.

0 commit comments

Comments
 (0)