1 .TH NOTMUCH-COMPACT 1 2013-11-28 "Notmuch 0.17~rc2"
3 notmuch-compact \- compact the notmuch database
8 .RI "[ --backup=<" directory "> ]"
14 command can be used to compact the notmuch database. This can both reduce
15 the space required by the database and improve lookup performance.
17 The compacted database is built in a temporary directory and is later
18 moved into the place of the origin database. The original uncompacted
19 database is discarded, unless the
20 .BR "\-\-backup=" <directory>
23 Note that the database write lock will be held during the compaction
24 process (which may be quite long) to protect data integrity.
32 .BR "\-\-backup=" <directory>
34 Save the current database to the given directory before replacing it
35 with the compacted database. The backup directory must not exist and
36 it must reside on the same mounted filesystem as the current database.
44 Do not report database compaction progress to stdout.
50 The following environment variables can be used to control the
54 Specifies the location of the notmuch configuration file. Notmuch will
55 use ${HOME}/.notmuch\-config if this variable is not set.
58 \fBnotmuch\fR(1), \fBnotmuch-count\fR(1), \fBnotmuch-dump\fR(1),
59 \fBnotmuch-hooks\fR(5), \fBnotmuch-insert\fR(1), \fBnotmuch-new\fR(1),
60 \fBnotmuch-reply\fR(1), \fBnotmuch-restore\fR(1), \fBnotmuch-search\fR(1),
61 \fBnotmuch-search-terms\fR(7), \fBnotmuch-show\fR(1),