---
name: "bf_copy"
section: "1"
platform: "linux"
package: "bogofilter-db"
version: "1.2.5-12"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/bf_copy"
---

# bf\_copy(1)

shell script to copy a bogofilter working directory

## NAME

bf\_copy - shell script to copy a bogofilter working directory

## SYNOPSIS

**bf\_copy** \[-c\] *source\_dir* *destination\_dir*

## DESCRIPTION

**bf\_copy** copies a bogofilter working directory to another directory. Currently it copies the database files (\*.db), related files (log.\*), and DB\_CONFIG (if present).

## OPTIONS

The **-c** option causes only active log files to be copied, not all. The default is to copy all log files.

## EXIT STATUS

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

## BUGS

This script assumes all \*.db files in the source directory are relevant and copies them. This may not match your actual configuration.

## NOTES

This script is meant for use with Berkeley DB and SQLite based bogofilter versions.

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.

## AUTHORS

Matthias Andree
