c_zip -- Generate a zipped archive of packet files
c_zip [-h] [-v] [file] [file2] ... [filen]
-h gets full help message
-v makes the output verbose (to STDERR)
If a single file name is given, that is taken to represent the basename of a contiguous set of archive files labeled
archive-xxyyaa.bin
archive-xxyyaa-1.bin
archive-xxyyaa-2.bin
Alternatively, if more than one input file is given as argument (such as in a wildcard, viz: CRAT*) the files are simply accepted as given.
In either event, the files are concatenated into a single, compressed datafile using the gzip format. The file name will be based upon the basename of the first file in the argument list.
The LRO-standard header for the resultant file will be copied from the first file read; all other headers will be deleted.
The original files will not be deleted.
perl5.002 Minimum version of Perl interpreter required
The output file name of ``name.bin.gz'', when decompressed to ``name.bin'' will, in some cases, be the same as the first of the input files, yet contain much more data.
Unlike some other programs in this series, only non-compressed files are valid inputs. This is considered a feature to keep from concatenating previously compressed archives.
rtlm
Bob Goeke
$Id: c_zip,v 1.4 2008/10/02 17:40:28 goeke Exp goeke $