.\" Automatically generated by Pandoc 3.1.11.1 .\" .TH "RPM2ARCHIVE" "8" "27 January 2020" "" "" .SH NAME rpm2archive \- Create tar archive from RPM Package Manager (RPM) package. .SH SYNOPSIS \f[B]rpm2archive\f[R] \f[B]{\-n|\-\-nocompression}\f[R] \f[B]{\-f|\-\-format=pax|cpio}\f[R] \f[I]FILES\f[R] .SH DESCRIPTION \f[B]rpm2archive\f[R] converts the .rpm files specified as arguments to tar archives on standard out. .PP If a \[aq]\-\[aq] argument is given, an rpm stream is read from standard in. .PP If standard out is connected to a terminal, the output is written to tar files with a \[dq].tgz\[dq] suffix, \f[B]gzip\f[R](1) compressed by default. .PP In opposite to \f[B]rpm2cpio\f[R] \f[B]rpm2archive\f[R] also works with RPM packages containing files greater than 4GB which are not supported by \f[B]cpio\f[R]. .SH OPTIONS .TP \f[B]\-n, \-\-nocompression\f[R] Generate uncompressed tar archive and use \[dq].tar\[dq] as postfix of the file name. .TP \f[B]\-f, \-\-format=pax|cpio\f[R] Generate archive in specified format: \f[B]pax\f[R] (the default format) or \f[B]cpio\f[R]. Note that the cpio format cannot host files over 4GB in size and is only supported here for backwards compatibility. .SH EXAMPLES .PD 0 .P .PD \f[B]\f[BI]rpm2archive glint\-1.0\-1.i386.rpm | tar \-xvz\f[B]\f[R] .PD 0 .P .PD \f[B]\f[BI]rpm2archive glint\-1.0\-1.i386.rpm ; tar \-xvz glint\-1.0\-1.i386.rpm.tgz\f[B]\f[R] .PD 0 .P .PD \f[B]\f[BI]cat glint\-1.0\-1.i386.rpm | rpm2archive \- | tar \-tvz\f[B]\f[R] .SH SEE ALSO \f[B]rpm2cpio\f[R](8), \f[B]rpm\f[R](8) .SH AUTHOR .IP .EX Florian Festi .EE