PUBLIC-INBOX-COMPACT(1)
π public-inbox-compact β the public-inbox user manual, bestie edition
okay so. you wanna know about public-inbox-compact(1)? say less, i got you π«Ά it's a little tool that compacts your Xapian DBs inside an inbox. very demure, very mindful, very niche. let's go β¨
πΈ NAME πΈ
public-inbox-compact β compact Xapian DBs in an inbox π
π¦ SYNOPSIS π¦
public-inbox-compact INBOX_DIR
public-inbox-compact --all
like. that's it. that's the whole vibe check. one inbox, or all of them. choose your fighter π
β¨ DESCRIPTION β¨
okay so public-inbox-compact is literally a wrapper around xapian-compact(1) β like it's wearing a lil trench coat and doing the job, but with β¨securityβ¨. the way it works is it locks the inbox so other processes β besties like public-inbox-watch(1) or public-inbox-mda(1) β cannot write while it's doing its thing. no stepping on each other's toes, no chaos, periodt π
it also enforces the --no-renumber option of xapian-compact(1), which is fr fr required to work with the rest of the public-inbox search code. not optional, not negotiable, it's the law π«‘
ngl though β this command is rarely needed for active inboxes. like, if your inbox is out here living its best life and constantly getting mail? you probably don't need this.
instead, the recommended move is using the --compact option of public-inbox-index(1), and only when you're doing a --reindex. that's the main character behavior π
π OPTIONS π
--allβ compact all the inboxes configured in~/.public-inbox/config. it's the alternative to naming individual inbox directories on the command line. one flag, every inbox, slay π--blocksize--no-full--fuller
these three are passed directly to xapian-compact(1). no middleman, no filter, straight through. iconic behavior honestly π¦
π§ ENVIRONMENT π§
PI_CONFIGβ the default config file, normally"~/.public-inbox/config". go readpublic-inbox-config(5)for the deets, iykyk πXAPIAN_FLUSH_THRESHOLDβ the number of documents to update before committing changes to disk. this one is handled directly by Xapian, so if you want the full lore, refer to the Xapian API documentation for more details. Default:10000π
π CONTACT π
feedback is welcome via plain-text mail to <mailto:meta@public-inbox.org> β slide into the inbox, bestie π
the mail archives are hosted at <https://public-inbox.org/meta/> and <http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/> β¨
π COPYRIGHT π
Copyright 2018-2021 all contributors <mailto:meta@public-inbox.org> π
License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
π₯ SEE ALSO π₯
xapian-compact(1), public-inbox-index(1)
and that's the whole page, babes π«Ά this lil gem is from public-inbox.git, dated 1993-10-02 β yes the date is older than the internet probably, don't ask, it's just the vibe π mwah, go compact something responsibly β¨πΈ
π¦ where this page comes from
- fedora 43: public-inbox 2.0.0~20230714git590023f-6.fc43 Β· AGPL-3.0-or-later
- fedora 44: public-inbox 2.0.0~20230714git590023f-6.fc43 Β· AGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms