1BF_TAR(1) Bogofilter Reference Manual BF_TAR(1)
2
3
4
6 bf_tar - shell script to write a tar file of a bogofilter directory to
7 stdout
8
10 bf_tar [-r] [-R] bogofilter_directory
11
13 bf_tar bundles a bogofilter working directory in tar format and copies
14 it to standard output (your console, or where you redirect it, see
15 EXAMPLES below).
16
18 The -r option causes bf_tar to remove inactive log files after the
19 archive has been written successfully. The default is to leave log
20 files.
21
22 The -R option causes bf_tar to remove inactive log files before the
23 archive is written. This may reduce chances that the resulting archive
24 is recoverable should it become damaged. The archive may be smaller
25 though. The default is to leave log files.
26
28 The script exits with status code 0 if everything went well, and
29 nonzero if it encountered trouble.
30
32 · bf_tar ~/.bogofilter > outfile.tar
33
34 Writes a standard .tar file containing the essential files from
35 ~/.bogofilter to outfile.tar.
36
37 · bf_tar ~/.bogofilter | gzip -9 -c > outfile.tar.gz
38
39 Writes a gzipped .tar.gz file containing the essential files from
40 ~/.bogofilter to outfile.tar.gz.
41
42 · bf_tar `pwd`/mydirectory > outfile.tar
43
44 Prepend $(pwd)/ or `pwd`/ if you want to specify an absolute path
45 instead of a relative path.
46
48 This script is meant for use with Berkeley DB based bogofilter
49 versions.
50
51 This script requires a SUSv2 compliant pax utility.
52
53 This script expects a SUSv2 compliant shell. Solaris systems should
54 have the SUNWxcu4 package installed (when bogofilter is configured) so
55 that /usr/xpg4/bin/sh can be used.
56
58 Matthias Andree
59
60
61
62Bogofilter 05/19/2019 BF_TAR(1)