forked from rpm-software-management/rpm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rpm2archive.8
40 lines (34 loc) · 1.18 KB
/
rpm2archive.8
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
.\" rpm2archive - Converts Red Hat Package (RPM) to tar archive
.TH RPM2ARCHIVE 8 "27 January 2020" "Red Hat, Inc."
.SH NAME
rpm2archive \- Create tar archive from RPM Package Manager (RPM) package.
.SH SYNOPSIS
\fBrpm2archive\fP \fB{-n|--nocompression}\fR \fB\fIFILES\fB\fR
.SH DESCRIPTION
\fBrpm2archive\fP converts the .rpm files specified as arguments to
tar files. By default they are gzip compressed and saved with postfix ".tgz".
If '-' is given as argument, an rpm stream is read from standard in and
written to standard out.
In opposite to \fBrpm2cpio\fP \fBrpm2archive\fP also works with RPM packages
containing files greater than 4GB which are not supported by cpio. Unless
\fBrpm2cpio\fP \fBrpm2archive\fP needs a working rpm installation which limits
its usefulness for some disaster recovery scenarios.
.SH "OPTIONS"
.TP
\fB\-n, --nocompression\fR
Generate uncompressed tar archive and use ".tar" as postfix of the
file name.
.PP
.SH EXAMPLES
.PP
.br
.I "\fBrpm2archive glint-1.0-1.i386.rpm ; tar -xvz glint-1.0-1.i386.rpm.tgz\fP"
.br
.I "\fBcat glint-1.0-1.i386.rpm | rpm2archive - | tar -tvz\fP"
.SH SEE ALSO
.IR rpm2cpio (8)
.IR rpm (8)
.SH AUTHOR
.nf
Florian Festi <ffesti@redhat.com>
.fi