Debian Codegraph @

upstream/debian-trixie/man8/rpm2archive.8

raw
1 .\" Automatically generated by Pandoc 3.1.11.1
2 .\"
3 .TH "RPM2ARCHIVE" "8" "27 January 2020" "" ""
4 .SH NAME
5 rpm2archive \- Create tar archive from RPM Package Manager (RPM)
6 package.
7 .SH SYNOPSIS
8 \f[B]rpm2archive\f[R] \f[B]{\-n|\-\-nocompression}\f[R]
9 \f[B]{\-f|\-\-format=pax|cpio}\f[R] \f[I]FILES\f[R]
10 .SH DESCRIPTION
11 \f[B]rpm2archive\f[R] converts the .rpm files specified as arguments to
12 tar archives on standard out.
13 .PP
14 If a \[aq]\-\[aq] argument is given, an rpm stream is read from standard
15 in.
16 .PP
17 If standard out is connected to a terminal, the output is written to tar
18 files with a \[dq].tgz\[dq] suffix, \f[B]gzip\f[R](1) compressed by
19 default.
20 .PP
21 In opposite to \f[B]rpm2cpio\f[R] \f[B]rpm2archive\f[R] also works with
22 RPM packages containing files greater than 4GB which are not supported
23 by \f[B]cpio\f[R].
24 .SH OPTIONS
25 .TP
26 \f[B]\-n, \-\-nocompression\f[R]
27 Generate uncompressed tar archive and use \[dq].tar\[dq] as postfix of
28 the file name.
29 .TP
30 \f[B]\-f, \-\-format=pax|cpio\f[R]
31 Generate archive in specified format: \f[B]pax\f[R] (the default format)
32 or \f[B]cpio\f[R].
33 Note that the cpio format cannot host files over 4GB in size and is only
34 supported here for backwards compatibility.
35 .SH EXAMPLES
36 .PD 0
37 .P
38 .PD
39 \f[B]\f[BI]rpm2archive glint\-1.0\-1.i386.rpm | tar \-xvz\f[B]\f[R]
40 .PD 0
41 .P
42 .PD
43 \f[B]\f[BI]rpm2archive glint\-1.0\-1.i386.rpm ; tar \-xvz
44 glint\-1.0\-1.i386.rpm.tgz\f[B]\f[R]
45 .PD 0
46 .P
47 .PD
48 \f[B]\f[BI]cat glint\-1.0\-1.i386.rpm | rpm2archive \- | tar
49 \-tvz\f[B]\f[R]
50 .SH SEE ALSO
51 \f[B]rpm2cpio\f[R](8), \f[B]rpm\f[R](8)
52 .SH AUTHOR
53 .IP
54 .EX
55 Florian Festi <ffesti\[at]redhat.com>
56 .EE