BF_TAR(1)
π BF_TAR β the bogofilter reference manual, but make it a group chat π
okay so bestie, this is bf_tar from the Bogofilter Reference Manual and it is literally the chillest little script you will ever meet. no cap. let's get into it π«Ά
β¨ NAME β¨
bf_tar β a shell script that writes a tar file of a bogofilter directory to stdout πΈ
β¨ SYNOPSIS β¨
bf_tar [-r] [-R] bogofilter_directory
β¨ DESCRIPTION β¨
So like. bf_tar bundles up a bogofilter working directory in tar format and copies it straight to standard output β that's your console, or wherever you redirect it. (peep the EXAMPLES below if you wanna see the redirect in action π)
β¨ OPTIONS β¨
-rβ this one makesbf_tarremove inactive log files after the archive has been written successfully. the default, tho? leave those log files alone. periodt. π-Rβ this one makesbf_tarremove inactive log files before the archive is written. and okay, heads up bestie, this may reduce the chances that the resulting archive is recoverable should it become damaged π the archive may be smaller though. the default is still: leave log files.
ngl the-rvs-Rthing is giving "same energy, opposite order" and the ordering genuinely matters. iykyk.
β¨ EXIT STATUS β¨
The script exits with status code 0 if everything went well, and nonzero if it encountered trouble. so if you see a nonzero, something said "not today" π
β¨ EXAMPLES β¨
- ``` bf_tar ~/.bogofilter > outfile.tar
Writes a standard `.tar` file containing the essential files from `~/.bogofilter` to `outfile.tar`.
2. ```
bf_tar ~/.bogofilter | gzip -9 -c > outfile.tar.gz
Writes a gzipped .tar.gz file containing the essential files from ~/.bogofilter to outfile.tar.gz. compression girlies, this one's for you π
- ``` bf_tar
pwd/mydirectory > outfile.tar
Prepend `$(pwd)/` or `` `pwd`/ `` if you want to specify an absolute path instead of a relative path.
---
# β¨ NOTES β¨
- This script is meant for use with <cyan>Berkeley DB</cyan> based bogofilter versions.
- This script requires a <cyan>SUSv2</cyan> compliant `pax` utility. no pax, no party π¦
- This script expects a <cyan>SUSv2</cyan> compliant shell. Solaris systems should have the `SUNWxcu4` package installed (when bogofilter is configured) so that `/usr/xpg4/bin/sh` can be used.
---
# β¨ AUTHORS β¨
Matthias Andree π
---
that's the whole vibe check, bestie β go archive something iconic π
<rainbow>**Bogofilter** Β· `05/19/2019` Β· **BF_TAR(1)**</rainbow> β mwah, thanks for reading, slay β¨π
π¦ 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