BF_COMPACT(1)

πŸ“¦ version 1.2.4, in opensuse-leap 16.0

✨ NAME ✨

hiii bestie πŸ’– welcome to BF_COMPACT(1), straight out of the Bogofilter Reference Manual. okay so bf_compact is a shell script to compact a bogofilter directory. slay, that’s the whole vibe.


🌸 SYNOPSIS 🌸

bf_compact bogofilter_directory [wordlist_name...]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here’s the tea β˜•: bf_compact creates a more compact bogofilter working directory with a dump/load cycle, and then renames the previous bogofilter_directory to bogofilter_directory.old. periodt πŸ’…

πŸ™ˆ Note: bf_compact cannot be used to process the current working directory, ., because that cannot be renamed. no cap, it’s literally not gonna work for that one.

If no wordlist_file arguments are given, then bf_compact will use the configured set of wordlists, if the given bogofilter_directory is the same as the configured, or use all *.db files if it is a different directory. iykyk ✨


πŸ’€ EXIT STATUS πŸ’€

The script exits with status code 0 if everything went well, and nonzero if it encountered trouble. pretty straightforward, bestie 🫢


πŸŽ€ NOTES πŸŽ€

⚠️ DANGER, bestie: This script will delete bogofilter_directory.old and all of its contents! 😭 like, all of it. gone. do not play with this one.

This script expects a SUSv2 compliant shell. Solaris systems should have the SUNWxcu4 package installed (when bogofilter is configured) so that /usr/xpg4/bin/sh can be used. very demure, very mindful, very Solaris-aware 🌈


πŸ‘‘ AUTHORS πŸ‘‘

Matthias Andree 🫑


okay byeee 🫢 β€” footer tea: source/version Bogofilter, date 06/29/2013, manual tag BF_COMPACT(1). mwah πŸ’‹