The program conv2gdbm has been provided to help you convert from dbm
databases to gdbm. The usage is:

conv2gdbm [-q] [-b block_size] dbm_file [gdbm_file]

The options are:

-q

Causes conv2gdbm to work quietly.

block_size

Is the same as in gdbm_open.

dbm_file

Is the name of the dbm file without the .pag or .dir
extensions.

gdbm_file

Is the complete file name. If not included, the gdbm file name is the
same as the dbm file name without any extensions. That is
conv2gdbmdbmfile converts the files dbmfile.pag and
dbmfile.dir into a gdbm file called dbmfile.