, , , , ,

I was searching for a tool to convert dbf files to csv files today. This post pretty much solved the problem. However, there was a small confusion!

There is dbfdump available from the shapelib package on Ubuntu. And then there is dbf_dump which is available when you install the libdbd-xbase-perl package (Credit: A commenter on the article linked above).

The dbfdump command is pretty simple as seen from the available options and then there is no option to make csv files which makes it useless for most cases. The perl based dbf_dump though is powerful; it allows us to specify the fields that we want to dump from the dbf files, the field separator etc.