Files
oldlinux-files/Minix/2.0.0/wwwman/man1/gather.1.html
2024-02-19 00:21:39 -05:00

72 lines
2.2 KiB
HTML

<HTML>
<HEAD>
<TITLE>gather(1)</TITLE>
</HEAD>
<BODY>
<H1>gather(1)</H1>
<HR>
<PRE>
</PRE>
<H2>NAME</H2><PRE>
gather - gather up the files in a directory for transmission
</PRE>
<H2>SYNOPSIS</H2><PRE>
<STRONG>gather</STRONG> [<STRONG>-s</STRONG>] <EM>source</EM>_<EM>dir</EM> [<STRONG>-d</STRONG>] dest_dir [<STRONG>-b</STRONG>] <EM>bytes</EM> [<STRONG>-f</STRONG>] <EM>file</EM>
</PRE>
<H2>OPTIONS</H2><PRE>
<STRONG>-b</STRONG> Desired number of bytes per output file
<STRONG>-d</STRONG> Destination directory
<STRONG>-f</STRONG> Base name of output files
<STRONG>-s</STRONG> Source directory
</PRE>
<H2>EXAMPLES</H2><PRE>
<STRONG>gather</STRONG> # Collect files in current dir into 60K archives
<STRONG>gather</STRONG> <STRONG>-d</STRONG> <STRONG>dir</STRONG> # Put the archives in <EM>dir</EM>
<STRONG>gather</STRONG> <STRONG>-b</STRONG> <STRONG>90000</STRONG> # Try to produce 90K archives
<STRONG>gather</STRONG> <STRONG>-s</STRONG> <STRONG>..</STRONG> <STRONG>-d</STRONG> <STRONG>targ</STRONG> <STRONG>-b</STRONG> <STRONG>5000</STRONG>
# Try to produce 5K archives
</PRE>
<H2>DESCRIPTION</H2><PRE>
It is often useful to collect all the files in a directory into one or
more archives for transmission by mail. This program collects all the
files in the source directory (default: current directory) and puts them
into a shar archive. The shar archive is then compressed and uuencoded.
An attempt is made to have the final .<EM>uue</EM> file be about the given size
(default: 60K), but since <EM>gather</EM> cannot really predict how much <EM>shar</EM> will
add to the file, how much <EM>compress</EM> will reduce the file, and how much <EM>uue</EM>
will add again, the sizes can fluctuate. If the <STRONG>-f</STRONG> <EM>file</EM> flag is given,
the archives will be given the names <EM>file</EM>_<EM>00</EM>.<EM>uue</EM>, <EM>file</EM>_<EM>01</EM>.<EM>uue</EM> etc. If <STRONG>-f</STRONG>
is not given, the name of the source directory is used as the base name.
Since 7 characters of suffix are appended, the base name should not
exceed 7 characters.
</PRE>
</BODY>
</HTML>