Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.45 KB

README.rst

File metadata and controls

51 lines (36 loc) · 1.45 KB

File2DB

Simple file to database manipulation

Commands

file2db info

usage: file2db info [-h] [-v] (-C | -T) input_file

positional arguments:
input_file parse data in FILE
optional arguments:
-h, --help show this help message and exit -v, --verbose show debugging info -C, --comma comma delimited file -T, --tab tab delimited file

file2db sql

usage: file2db sql [-h] [-v] (-C | -T) (-M | -S) [-o output_directory] -n table_name input_file

positional arguments:
input_file parse data in FILE
optional arguments:
-h, --help show this help message and exit -v, --verbose show debugging info -C, --comma comma delimited file -T, --tab tab delimited file -M, --MySQL to specify MySQL -S, --SQLite to specify SQLite -o output_directory, --output output_directory output directory, defaults to current directory -n table_name, --tablename table_name generate SQL DML with supplied name as the table