-In order to greatly reduce the size of your database, you should
-compact it. Carl says "This functionality is not yet available in the
-Xapian library interface or else I would probably make notmuch call it
-after building the database." and Pieter "[compacting] will cause
-writes to be a bit more expensive in the short term, but will
-significantly reduce the db's size, which your SSD will surely
-appreciate."
-
-This needs xapian 1.2
-
-Backup your database:
-
- $ cd
- $ notmuch dump --output=notmuch-dump-b4compact
-
-Compact it:
-
- $ cd $(notmuch config get database.path)/.notmuch
- $ xapian-compact --no-renumber xapian xapian-compacted
-
-Remove old and renamed compacted, if compacting went well:
+In order to greatly reduce the size of your database, you should compact it.
+This can be easily achieved with `notmuch compact`: