logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rpm2archive - Create tar archive from RPM Package Manager (RPM) package.

Author

              Florian Festi <ffesti@redhat.com>

                                                 27 January 2020                                  RPM2ARCHIVE(8)

Description

rpm2archive converts the .rpm files specified as arguments to tar archives on standard out.

       If a '-' argument is given, an rpm stream is read from standard in.

       If  standard  out  is  connected  to a terminal, the output is written to tar files with a ".tgz" suffix,
       gzip(1) compressed by default.

       In opposite to rpm2cpiorpm2archive also works with RPM packages containing files greater than 4GB  which
       are not supported by cpio.

Examples

rpm2archiveglint-1.0-1.i386.rpm|tar-xvzrpm2archiveglint-1.0-1.i386.rpm;tar-xvzglint-1.0-1.i386.rpm.tgzcatglint-1.0-1.i386.rpm|rpm2archive-|tar-tvz

Name

       rpm2archive - Create tar archive from RPM Package Manager (RPM) package.

Options

-n,--nocompression
              Generate uncompressed tar archive and use ".tar" as postfix of the file name.

       -f,--format=pax|cpio
              Generate archive in specified format: pax (the default format) or cpio.  Note that the cpio format
              cannot host files over 4GB in size and is only supported here for backwards compatibility.

See Also

rpm2cpio(8), rpm(8)

Synopsis

rpm2archive{-n|--nocompression}{-f|--format=pax|cpio}FILES

See Also