summaryrefslogtreecommitdiffstats
path: root/upstream/debian-bookworm/man8/rpm2archive.8
blob: 2e269567dd7d034cef5c378d8ca718be68318516 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
.\" Automatically generated by Pandoc 2.14.0.3
.\"
.TH "RPM2ARCHIVE" "8" "27 January 2020" "" ""
.hy
.SH NAME
.PP
rpm2archive - Create tar archive from RPM Package Manager (RPM) package.
.SH SYNOPSIS
.PP
\f[B]rpm2archive\f[R] \f[B]{-n|--nocompression}\f[R] \f[I]FILES\f[R]
.SH DESCRIPTION
.PP
\f[B]rpm2archive\f[R] converts the .rpm files specified as arguments to
tar files.
By default they are gzip compressed and saved with postfix
\[dq].tgz\[dq].
.PP
If \[aq]-\[aq] is given as argument, an rpm stream is read from standard
in and written to standard out.
.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 cpio.
Unless \f[B]rpm2cpio\f[R] \f[B]rpm2archive\f[R] needs a working rpm
installation which limits its usefulness for some disaster recovery
scenarios.
.SH OPTIONS
.TP
\f[B]-n, --nocompression\f[R]
Generate uncompressed tar archive and use \[dq].tar\[dq] as postfix of
the file name.
.SH EXAMPLES
.PP
.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
.PP
\f[I]rpm2cpio\f[R](8) \f[I]rpm\f[R](8)
.SH AUTHOR
.IP
.nf
\f[C]
Florian Festi <ffesti\[at]redhat.com>
\f[R]
.fi