📄 bf_compact.htmlin
字号:
<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 V1.69.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="bf_compact.1"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>bf_compact — 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" lang="en"><a name="description"></a><h2>Description</h2><p><span><strong class="command">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><strong class="command">bf_compact</strong></span> cannot be used to process the current working directory, ".", because of directory renaming issues.</p><p>If no <em class="replaceable"><code>wordlist_file</code></em> arguments are given, then <span><strong class="command">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" lang="en"><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" lang="en"><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 is meant for use with Berkeley DB 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></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -