BF_COPY(1)

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

πŸ’… BF_COPY(1) β€” bestie's bogofilter working-directory copier ✨

okay so this is bf_copy from the Bogofilter Reference Manual, and honestly? it's a whole little shell script moment. it copies a bogofilter working directory. that's the vibe. let's get into it 🫢


🌸 NAME 🌸

bf_copy β€” a shell script that copies a bogofilter working directory, no cap πŸ’–


✨ SYNOPSIS ✨

bf_copy [-c] source_dir destination_dir

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so bf_copy copies a bogofilter working directory to another directory. currently it copies the database files (<code>.db</code>), related files (<code>log.</code>), and DB_CONFIG (if present). that's the whole lineup, bestie πŸ’…


πŸŽ€ OPTIONS πŸŽ€

  • -c β€” causes only active log files to be copied, not all of them. the default is to copy all log files. so like, -c is the picky little filter option and we love her for it ✨

⭐ EXIT STATUS ⭐

the script exits with status code 0 if everything went well, and nonzero if it encountered trouble 😭 that's your vibe check right there β€” zero means slay, nonzero means something went off.


πŸ’€ BUGS πŸ’€

this script assumes all <code>.db</code> files in the source directory are relevant and copies them. this may not match your actual configuration πŸ™ˆ so if your setup is quirky, maybe double-check β€” no cap, it's just gonna copy every <code>.db</code> it sees.


🌈 NOTES 🌈

this script is meant for use with Berkeley DB and SQLite based bogofilter versions πŸ’–

it also 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. literally just so you get the right shell, iykyk 🌸


πŸ‘‘ AUTHORS πŸ‘‘

Matthias Andree β€” icon, legend, the moment πŸ’œ


so yeah, that's the whole page 🧚 Bogofilter, dated 06/29/2013, and this little gem is page BF_COPY(1) β€” go forth and copy your working directory, bestie, you got this πŸ’…βœ¨πŸ“