Query: bf_tar
OS: debian
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
BF_TAR(1) Bogofilter Reference Manual BF_TAR(1)NAMEbf_tar - shell script to write a tar file of a bogofilter directory to stdoutSYNOPSISbf_tar [-r] [-R] bogofilter_directoryDESCRIPTIONbf_tar bundles a bogofilter working directory in tar format and copies it to standard output (your console, or where you redirect it, see EXAMPLES below).OPTIONSThe -r option causes bf_tar to remove inactive log files after the archive has been written successfully. The default is to leave log files. The -R option causes bf_tar to remove inactive log files before the archive is written. This may reduce chances that the resulting archive is recoverable should it become damaged. The archive may be smaller though. The default is to leave log files.EXIT STATUSThe script exits with status code 0 if everything went well, and nonzero if it encountered trouble.EXAMPLESo bf_tar ~/.bogofilter > outfile.tar Writes a standard .tar file containing the essential files from ~/.bogofilter to outfile.tar. o bf_tar ~/.bogofilter | gzip -9 -c > outfile.tar.gz Writes a gzipped .tar.gz file containing the essential files from ~/.bogofilter to outfile.tar.gz. o bf_tar `pwd`/mydirectory > outfile.tar Prepend $(pwd)/ or `pwd`/ if you want to specify an absolute path instead of a relative path.NOTESThis script is meant for use with Berkeley DB based bogofilter versions. This script requires a SUSv2 compliant pax utility. This script expects a SUSv2 compliant shell. Solaris systems should have the SUNWxcu4 package installed (when bogofilter is configured) so that /usr/xpg4/bin/sh can be used.AUTHORSMatthias Andree Bogofilter 03/15/2010 BF_TAR(1)
Related Man Pages |
---|
bogolexer(1) - debian |
claws-mail-bogofilter(1) - debian |
bogotune(1) - centos |
bogolexer(1) - centos |
bogolexer(1) - suse |
Similar Topics in the Unix Linux Community |
---|
problem with tar |
write a script to compare two files |
Exits from putty instead of shell script |
Shell script remove bad character |
Copying all the .sh files into a tar file |