<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>bf_copy</title><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry"><a name="bf_copy.1"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>bf_copy &#8212; shell script to copy a <span class="application">bogofilter</span>
	    working directory</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">bf_copy</code>  [-c]   <em class="replaceable"><code>source_dir</code></em>    <em class="replaceable"><code>destination_dir</code></em> </p></div></div><div class="refsect1"><a name="description"></a><h2>Description</h2><p><span class="command"><strong>bf_copy</strong></span> copies a
	    <span class="application">bogofilter</span> working directory to another
	    directory.  Currently it copies the database files (*.db), related
	    files (log.*), and DB_CONFIG (if present).</p></div><div class="refsect1"><a name="options"></a><h2>Options</h2><p>The <code class="option">-c</code> option causes only active log files to
	    be copied, not all. The default is to copy all log files.</p></div><div class="refsect1"><a name="exitstatus"></a><h2>Exit Status</h2><p>The script exits with status code 0 if everything went
	    well, and nonzero if it encountered trouble.</p></div><div class="refsect1"><a name="bugs"></a><h2>Bugs</h2><p>This script assumes all *.db files in
	    the source directory are relevant and copies them. This may
	    not match your actual configuration.</p></div><div class="refsect1"><a name="notes"></a><h2>Notes</h2><p>This script is meant for use with Berkeley DB and SQLite based
	    <span class="application">bogofilter</span> versions.</p><p>This script expects a SUSv2 compliant shell.  Solaris
	    systems should have the <code class="systemitem">SUNWxcu4</code> package
	    installed (when <span class="application">bogofilter</span> is configured)
	    so that <code class="filename">/usr/xpg4/bin/sh</code> can be used.</p></div><div class="refsect1"><a name="authors"></a><h2>Authors</h2><p><span class="author"><span class="firstname">Matthias</span> <span class="surname">Andree</span></span></p></div></div></body></html>
