tarball - A simple frontend to tar
tarball [-l, --list] archivefile [filelist]
This documentation describes the use of the shell script tarball, which is a simple frontend to tar aimed at making the most common handling operations of tar archives quicker (and if only by saving one the typing of options to tar).
Supported operations are creation of tar archives, listing of archive contents and unpacking of archives. Supported archive extensions for the last two operations are .tar, .tgz, .tar.gz and .tar.bz2.
If only a single file parameter archivefile is given, tarball extracts the contents of the archive. Otherwise an archive archivefile.tar.bz2 is created (a tar archive compressed by bzip2, which is more efficient than gzip) and files/directories in filelist are added to it. The use of wildcards is possible in filelist, though you might find it necessary to protect them from shell expansion by enclosing them in ``''.
Learning by example is almost always easiest, so here are quite a few:
tarball foo "suse*".
tarball foo "suse* redhat"(or
tarball foo "suse*" redhat, even)
Obviously, the script requires tar. If compressed archives are to be handled, the appropriate compressors (gzip and bzip2, respectively) need to be installed, too.
There are currently no known bugs, though that doesn't mean there aren't any. The script has been extensively used, however, so the chances of there being any bugs are probably minimal (but don't count on it).
Please send any bug reports, comments, feature requests, praise etc. by email to firstname.lastname@example.org.
tar(1), gzip(1), bzip2(1)
Copyright (c) 2001-2001 Michael Peceny, email@example.com.
This script is free software. Permission is granted to any individual or institution to use, copy, or redistribute this software so long as all of the originalfiles are included, that it is not sold for profit, and that this copyright notice is retained.
TARBALL IS PROVIDED AS IS AND COMES WITH NO WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. IN NO EVENT WILL THE COPYRIGHT HOLDER BE LIABLE FOR ANY DAMAGES RESULTING FROM THE USE OF THIS SOFTWARE. USE AT YOUR OWN RISK.