simonw / mbox-to-sqlite

Load email from .mbox files into SQLite
Apache License 2.0
24 stars 5 forks source link

Added options for SQLite tracer and to lowercase the column names. #6

Open pkropf opened 11 months ago

pkropf commented 11 months ago

The --tracer option will now print out the SQL commands that the SQLite engine executes. This is helpful in trying to determine why some .mbox file cannot be loaded. For example, Google's Takeout produces .mbox files with email message header fields of mixed cases.

The --lowercol option will force the table column names to be lowercase.

pkropf commented 11 months ago

I missed an erroneous print statement and added the --lowercol option to the readme.