BF_TAR(1)
π NAME π
bf_tar β a shell script to write a tar file of a bogofilter directory to stdout. This is the bf_tar(1) page from the Bogofilter Reference Manual, and yes bestie, itβs exactly that useful. Iconic archive behavior, no cap. π
β¨ SYNOPSIS β¨
bf_tar [-r] [-R] bogofilter_directory
π¦ DESCRIPTION π¦
Okay so bf_tar bundles a bogofilter working directory in tar format and copies it to standard output β thatβs your console, or wherever you redirect it (peep EXAMPLES below, iykyk). Itβs giving βmake a tar, send it to stdout, main character energy.β π
πΈ OPTIONS πΈ
-rβ causesbf_tarto remove inactive log files after the archive has been written successfully. The default is to leave log files. So if you donβt pass it, those log files stay cozy.-Rβ causesbf_tarto remove inactive log files before the archive is written. This may reduce chances that the resulting archive is recoverable should it become damaged. The archive may be smaller though. The default is to leave log files. Smaller archive? Sure. But bestie, read that recovery caveat twice.
β EXIT STATUS β
The script exits with status code 0 if everything went well, and nonzero if it encountered trouble. Simple vibe check: 0 = slay, nonzero = something went sideways. π
π EXAMPLES π
bf_tar ~/.bogofilter > outfile.tar
Writes a standard .tar file containing the essential files from ~/.bogofilter to outfile.tar. Classic. Clean. Archive-ready.
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. Compressed and cute, fr fr.
bf_tarpwd/mydirectory > outfile.tar
Prepend $(pwd)/ or `pwd`/ if you want to specify an absolute path instead of a relative path. Path glow-up, periodt.
π§ NOTES π§
- This script is meant for use with Berkeley DB based bogofilter versions. Berkeley DB besties, this oneβs for you.
- This script requires a SUSv2 compliant
paxutility. Nopax, no party. - This script expects a SUSv2 compliant shell. Solaris systems should have the
SUNWxcu4package installed (when bogofilter is configured) so that/usr/xpg4/bin/shcan be used. Solaris girlies, check that package before you come for this script. π
π AUTHORS π
Matthias Andree β author, legend, icon. π«Ά
Bogofilter Β· 06/29/2013 Β· BF_TAR(1) β okay bye bestie, mwah ππ
π¦ where this page comes from
- opensuse-leap 16.0: bogofilter-db 1.2.4-bp160.1.12 Β· GPL-2.0-or-later
- opensuse-leap 16.0: bogofilter-db 1.2.4-bp160.1.12 Β· GPL-2.0-or-later
- opensuse-leap 16.0: bogofilter-db 1.2.4-bp160.1.12 Β· GPL-2.0-or-later
- opensuse-leap 16.0: bogofilter-db 1.2.4-bp160.1.12 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms