DBF 2 SQL is small command line tool for converting DBF files top MySQL dump format.
-
Clone repository:
git clone https://github.com/xmorave2/dbf2sql.git
-
Install php and composer (https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx)
-
Install libraries:
composer install
php dbf2sql.php [-e encoding] [-b batchsize] [-d destinationdir] list_of_dbf_files
Example:
php dbf2sql.php -e CP1250 books.dbf authors.dbf