General-Purpose Mail Package
|Official GNU Software|
The add subcommand adds records to a database. Records are read from the standard input and must be formatted as for create:
mailutils dbm add file.db
If the argument file does not exist, it will be created.
Adding a record with a key which is already present in the database produces an error. To replace existing records, use the replace subcommand instead.
The same options that affect the behavior of create apply to add and ‘replace’ as well, e.g.:
mailutils dbm replace --file input.txt --copy-permissions file.db
This document was generated on August 5, 2021 using makeinfo.Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.