[Spambayes] Database Format

Brent L Johnson brent at bjohnson.net
Tue Feb 10 13:35:31 EST 2004

Ahhh.. the default help (other than down in the examples)
doesnt mention the -d option:

    sb_dbexpimp [options]

            -e     : export
            -i     : import
            -v     : verbose mode (some additional diagnostic messages)
            -f: FN : flat file to export to or import from
            -p: FN : name of pickled database file to use
            -f: FN : name of dbm database file to use
            -m     : merge import into an existing database file.  This
                     meaningful only for import. If omitted, a new
                     file will be created.  If specified, the imported
                     wordinfo will be merged into an existing database.
                     Run dbExpImp -h for more information.
            -o: section:option:value :
                     set [section, option] in the options database to

            -h     : help

But it does list -f twice.. Im guessing that second one
should be a -d.


- Brent

> -----Original Message-----
> From: Kenny Pitt [mailto:kennypitt at hotmail.com] 
> Sent: Tuesday, February 10, 2004 1:24 PM
> To: 'Brent L Johnson'; spambayes at python.org
> Subject: RE: [Spambayes] Database Format
> Brent L Johnson wrote:
> > I installed SB on my Linux box from the source distribution 
> (1.0a9).  
> > I then copied my database from my WinXP machine (I'm using 
> the Outlook 
> > plugin) and ran:
> > 
> > sb_dbexpimp.py -e -p default_bayes_database.db  -f bayes.out
> > 
> > Not sure if these are the correct parameters, but I based
> > it off the usage help for sb_dbexpimp.
> > [snip traceback]
> > 
> > Is the db version for the Outlook plugin a picked db or DBM?
> "default_bayes_database.db" is a BerkeleyDB file.  You'll 
> want the -d option instead of the -p option.
> -- 
> Kenny Pitt

More information about the Spambayes mailing list