<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> <refentry id='bf_copy.1'> <refmeta> <refentrytitle>bf_copy</refentrytitle> <manvolnum>1</manvolnum> <refmiscinfo class="manual">Bogofilter Reference Manual</refmiscinfo> <refmiscinfo class="source">Bogofilter</refmiscinfo> </refmeta> <refnamediv id='name'> <refname>bf_copy</refname> <refpurpose>shell script to copy a <application>bogofilter</application> working directory</refpurpose> </refnamediv> <refsynopsisdiv id='synopsis'> <cmdsynopsis> <command>bf_copy</command> <arg choice='opt'>-c</arg> <arg choice='plain'> <replaceable>source_dir</replaceable></arg> <arg choice='plain'> <replaceable>destination_dir</replaceable></arg> </cmdsynopsis> </refsynopsisdiv> <refsect1 id='description'><title>Description</title> <para><command>bf_copy</command> copies a <application>bogofilter</application> working directory to another directory. Currently it copies the database files (*.db), related files (log.*), and DB_CONFIG (if present).</para> </refsect1> <refsect1 id='options'><title>Options</title> <para>The <option>-c</option> option causes only active log files to be copied, not all. The default is to copy all log files.</para> </refsect1> <refsect1 id='exitstatus'><title>Exit Status</title> <para>The script exits with status code 0 if everything went well, and nonzero if it encountered trouble.</para> </refsect1> <refsect1 id='bugs'><title>Bugs</title> <para>This script assumes all *.db files in the source directory are relevant and copies them. This may not match your actual configuration.</para> </refsect1> <refsect1 id='notes'><title>Notes</title> <para>This script is meant for use with Berkeley DB and SQLite based <application>bogofilter</application> versions.</para> <para>This script expects a SUSv2 compliant shell. Solaris systems should have the <systemitem>SUNWxcu4</systemitem> package installed (when <application>bogofilter</application> is configured) so that <filename>/usr/xpg4/bin/sh</filename> can be used.</para> </refsect1> <refsect1 id="authors"><title>Authors</title> <para><author><firstname>Matthias</firstname><surname>Andree</surname></author></para> </refsect1> </refentry>