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).
The -c
option causes only active log files to
be copied, not all. The default is to copy all log files.
The script exits with status code 0 if everything went well, and nonzero if it encountered trouble.
This script assumes all *.db files in the source directory are relevant and copies them. This may not match your actual configuration.