BF_COPY(1)
π bf_copy β bestie's guide to cloning ur bogofilter folder π
okay so this is a page from the Bogofilter Reference Manual, section 1 (that's the "user commands" shelf, iykyk) β¨ and it's literally all about bf_copy, a lil shell script that goes copy π«Ά
β¨ NAME β¨
bf_copy β a shell script that copies a bogofilter working directory, no cap π
πΈ SYNOPSIS πΈ
bf_copy [-c] source_dir destination_dir
π¦ DESCRIPTION π¦
so here's the tea, bestie: bf_copy copies a bogofilter working directory into another directory. that's the whole vibe. π
rn it copies these three things:
- the database files, aka
*.dbπ - the related files, aka
log.*π DB_CONFIGβ but only if it's actually there, so don't come for me if it's missing π
π OPTIONS π
-cβ this one makes it copy only the active log files, not every single one. without it? default behaviour is to copy all the log files. so-cis the picky-eater option π
β EXIT STATUS β
the script dips out with status code 0 when everything went great β¨, and nonzero when it ran into trouble π. that's it, that's the whole check.
π BUGS π
heads up bestie, this is a real one: the script just assumes every single *.db file in the source directory is relevant and copies all of them. that might not actually match your configuration, fr fr. so double check before u trust it π
π NOTES π
- this script is meant to be used with Berkeley DB and SQLite based bogofilter versions π§
- it also expects a SUSv2 compliant shell. so if ur on Solaris, u should have the
SUNWxcu4package installed (back when bogofilter is configured) so that/usr/xpg4/bin/shcan be used. yes that's the whole path, don't @ me πΈ
π AUTHORS π
Matthias Andree π
and that's a wrap, bestie π this lil page is from the Bogofilter manual, dated 05/19/2019. go forth and copy ur directories, u got this πβ¨π¦
π¦ where this page comes from
- alpine 3.24: bogofilter-doc 1.2.5-r4 Β· GPL-2.0-or-later
- arch rolling: bogofilter-db 1.2.5-12 Β· GPL-2.0-or-later
- arch rolling: bogofilter-kyotocabinet 1.2.5-12 Β· GPL-2.0-or-later
- arch rolling: bogofilter-lmdb 1.2.5-12 Β· GPL-2.0-or-later
- arch rolling: bogofilter-sqlite 1.2.5-12 Β· GPL-2.0-or-later
- centos-stream 9: bogofilter 1.2.5-8.el9 Β· GPLv2
- debian bookworm: bogofilter-common 1.2.5-1+b2 Β· GPL-2.0-or-later
- debian trixie: bogofilter-common 1.2.5-1+b4 Β· GPL-2.0-or-later
- epel 10: bogofilter 1.2.5-19.el10_1 Β· GPL-2.0-only
- fedora 43: bogofilter 1.2.5-20.fc43 Β· GPL-2.0-only
- fedora 44: bogofilter 1.2.5-22.fc44 Β· GPL-2.0-only
- nixos 26.05: bogofilter-db 1.2.5
- nixos 26.05: bogofilter-sqlite 1.2.5
- nixpkgs unstable: bogofilter-db 1.2.5
- nixpkgs unstable: bogofilter-sqlite 1.2.5
- ubuntu jammy: bogofilter-common 1.2.5-1build2 Β· GPL-2.0-or-later
- ubuntu noble: bogofilter-common 1.2.5-1build4 Β· GPL-2.0-or-later
- ubuntu questing: bogofilter-common 1.2.5-1build5
- ubuntu resolute: bogofilter-common 1.2.5-1build6 Β· GPL-2.0-or-later
- ubuntu stonking: bogofilter-common 1.2.5-1build6 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms