dbf2csv - Convert dBASE DBF files to text files
dbf2csv [options] [file ...]
Options: -h --help verbose help message -i --info just print header metadata and no rows -R --repair repair any header corruption -H --header output column headers -f --field=<char> set the field separator character -e --enclose=<char> set the field enclosing character -E --escape=<char> set the escape character -r --record=<char> set the record separator character -o --outfile=<file> write output to <file> (overrides -x) -x --outext=<ext> use <ext> as output extension Defaults: -R (false) -H (false) -f , -e " -E \ -r \n -o <infile>.txt -x .txt dbf2csv understands the following special characters in its arguments: \r carriage return \n newline \t tab \\ backslash
One or more files specified on the command line (or from standard input if none specified, or - is specified) are converted from dBASE DBF format to text delimited files. Delimiters and escape characters can be indicated on the command line. Output is typically written to <file>.txt, given input <file>.dbf. The output extension can be changed with the --outext parameter. Alternatively, an output file can be manually specified via the -o argument. If --outfile is -, output will be written to standard output.
-
<file>.txt
<file>.dbf
--outext
-o
--outfile
If --info is specified, header metadata is printed to standard output for all specified DBF files. All other flags are ignored and no row data are output.
--info
CAM::DBF
Chris Dolan, Clotho Advanced Media, chris@clotho.com
To install CAM::DBF, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CAM::DBF
CPAN shell
perl -MCPAN -e shell install CAM::DBF
For more information on module installation, please visit the detailed CPAN module installation guide.