<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>bf_compact</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_compact.1"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>bf_compact &#8212; shell script to compact a <span class="application">bogofilter</span> directory</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">bf_compact</code>   <em class="replaceable"><code>bogofilter_directory</code></em>  [<em class="replaceable"><code>wordlist_name</code></em>...]</p></div></div><div class="refsect1"><a name="description"></a><h2>Description</h2><p><span class="command"><strong>bf_compact</strong></span> creates a more compact
	    <span class="application">bogofilter</span> working directory with a
	    dump/load cycle and renames the previous
	    <em class="replaceable"><code>bogofilter_directory</code></em> to
	    <em class="replaceable"><code>bogofilter_directory</code></em><code class="filename">.old</code>.</p><p>Note:  <span class="command"><strong>bf_compact</strong></span> cannot be used to process the
	    current working directory, ".", because that cannot be
	    renamed.</p><p>If no <em class="replaceable"><code>wordlist_file</code></em> arguments are
	given, then <span class="command"><strong>bf_compact</strong></span> will use the
	configured set of wordlists, if the given
	<em class="replaceable"><code>bogofilter_directory</code></em> is the same as
	the configured, or use all *.db files if it is a different
	directory.</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="notes"></a><h2>Notes</h2><p>This script will delete
		<em class="replaceable"><code>bogofilter_directory</code></em><code class="filename">.old</code>
	and all of its contents!</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>
