htdig(1)
π htpurge β the glow-up your database needed π
okay bestie, welcome to the General Commands Manual β¨ this is the htdig(1) page (yes the header is a little chaotic, we love that for it) and today we're learning about htpurge, aka the little cleanup icon that keeps your database from hoarding.
πΈ NAME πΈ
htpurge β remove unused documents from the database (general maintenance script)
no cap, that's literally it. it's the general maintenance script. she cleans.
π SYNOPSIS π
htpurge [-][-a][-c configfile][-u][-v]
look at her. compact. efficient. main character energy fr fr.
π¦ DESCRIPTION π¦
So htpurge functions to remove specified URLs from the databases, plus bad URLs, unretrieved URLs, obsolete documents, etc. etc. π
Basically: it's giving digital declutter. It is recommended that htpurge be run after htdig to clean out any documents of this sort. Think of it like, you go shopping (htdig), you come home with bags, and then htpurge is the one putting everything away and yeeting the receipts you don't need. ποΈβ¨
β¨ OPTIONS β¨
-β Take URL list from standard input (rather than specified with-u). Format of input file is one URL per line.-aβ Use alternate work files. Tellshtpurgeto append.workto database files, causing a second copy of the database to be built. This allows the original files to be used byhtsearchduring the run. π«Ά (so thoughtful of her honestly)-c configfileβ Use the specified configfile instead of the default.-u URLβ Add this URL to the list of documents to remove. Must be specified multiple times if more than one URL are to be removed. Should nor be used together with-. π¨ (yes it says "nor" β that's the original wording bestie, we do not edit the queen's typos, we preserve them π)-vβ Verbose mode. This increases the verbosity of the program. Using more than 2 is probably only useful for debugging purposes. The default verbose mode (using only one-v) gives a nice progress report while digging. π₯
heads up bestie:-uand-do not go together. pick a lane. pick one. π
π FILES π
/etc/htdig/htdig.confβ The default configuration file.
π SEE ALSO π
Please refer to the HTML pages (in the htdig-doc package) at:
/usr/share/doc/htdig-doc/html/index.html
and the manual pages htdigconfig(8), htdig(1) and htmerge(1) for a detailed description of ht://Dig and its commands.
like, go read the whole lore. it's a whole universe. π
π AUTHOR π
This manual page was written by Robert Ribnitz, based on the HTML documentation of ht://Dig. π
and that's the whole page, bestie!! this gorgeous little writeup is dated January 2004 and comes to you from the htdig(1) corner of the General Commands Manual. slay, stay clean, purge responsibly, and remember: your database deserves a glow-up too πβ¨π¦π
π«Ά
π¦ where this page comes from
- debian bookworm: htdig 1:3.2.0b6-19+b1
- debian trixie: htdig 1:3.2.0b6-21
- ubuntu jammy: htdig 1:3.2.0b6-19
- ubuntu noble: htdig 1:3.2.0b6-20build1
- ubuntu questing: htdig 1:3.2.0b6-21
- ubuntu resolute: htdig 1:3.2.0b6-21build1
- ubuntu stonking: htdig 1:3.2.0b6-22build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms