Extracts data from DBF files and imports it into a SQL database. Only PostgreSQL is supported at the moment.
- PHP >= 5.3
- Composer
composer install
php -q dbf2sql.php /path/to/file.dbf [encoding]
time php -q dbf2sql.php /path/to/file.dbf CP1251 > test.sql
or
time php -q dbf2sql.php /path/to/file.dbf CP1251 | psql database username
Refer to http://www.orbital.com.ar