NAME

rt_archive - create an archive of many files

SYNOPSIS

 rt_archive [OPTIONS] FILES...
 rt_archive [OPTIONS] --pipe [PROGRAM [ARGS...]]

DESCRIPTION

rt_archive is a front-end to various archive and compression programs. It allows one to create archives of files in various formats using a common command-line interface.

Currently supported archivers/compressors are zip, tar, cpio, compress, gzip and bzip2.

The file names to be archived may be supplied on the command line, in a file (see --from-file option), on standard input, or by another program's standard output (see --pipe option). Note that directories are not added recursively, each file must be explicitely listed.

EXAMPLES

 # Archive all *.c files in current directory
 rt_archive -o foo.tar.gz *.c

 # Recursively archive all *.c files below current directory
 rt_archive -o foo.tar.bz2 --pipe find -name '*.c'

 # Various ways to archive files whose names are in another file
 rt_archive --from-file list.txt -o foo.zip
 rt_archive -o foo.zip --pipe cat list.txt
 rt_archive -o foo.zip --pipe <list.txt
 cat list.txt | rt_archive -o foo.zip --pipe

OPTIONS

AUTHORS

Davlet Panech - dpanech at users dot sourceforge dot net

COPYRIGHT AND LICENSE

Copyright 2010 Davlet Panech.

Rpmtoolbox is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Rpmtoolbox is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with rpmtoolbox. If not, see <www.gnu.org>.