File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44Synopsis: %(prog)s [-h|-b|-r|-a|-d] dbfile [ picklefile ]
55
66Read the given picklefile as a series of key/value pairs and write to a new
7- bsddb database. If the database already exists, any contents are deleted.
8- The optional flags indicate the type of the database (bsddb hash, bsddb
9- btree, bsddb recno, anydbm, dbm). The default is hash. If a pickle file is
10- named it is opened for read access. If no pickle file is named, the pickle
11- input is read from standard input.
7+ database. If the database already exists, any contents are deleted. The
8+ optional flags indicate the type of the database (bsddb hash, bsddb btree,
9+ bsddb recno, anydbm, dbm). The default is hash. If a pickle file is named
10+ it is opened for read access. If no pickle file is named, the pickle input
11+ is read from standard input.
1212
1313Note that recno databases can only contain numeric keys, so you can't dump a
1414hash or btree database using db2pickle.py and reconstitute it to a recno
You can’t perform that action at this time.
0 commit comments