Skip to content

This tools read and converts a dbf file to a txt file, diferent from a CSV this is simple a data table dump. It is possible to filter and only output desired columns.

License

Notifications You must be signed in to change notification settings

bcsanches/dbf2txt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dbf2txt

A small C++ library for reading dbf files. It was designed for converting dbf files to txt and can be easily used for generating files in any format desired. Free for commercial use, open source under the ZLib License.

http://github.com/bcsanches/dbf2txt

You can use CMAKE for building it and use it as a submodule on your projects.

The code includes a simple sample, that you can build with cmake and use simple as:

sample input.dbf output.txt

This will output all data from input.dbf to output.txt.

In case you need only certain fields, use as:

sample input.dbf output.txt CODE NAME AGE

This will output only the fields CODE, NAME and AGE, ignoring any other fields in the file.

This is a simple dump tool to output DBF files to any format you need. In my case, I wrote it when I needed to migrate from a old system to a new format.

About

This tools read and converts a dbf file to a txt file, diferent from a CSV this is simple a data table dump. It is possible to filter and only output desired columns.

Resources

License

Stars

Watchers

Forks

Packages

No packages published