Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rpm2cpio(1) [xfree86 man page]

rpm2cpio(1)							   User Commands						       rpm2cpio(1)

NAME
       rpm2cpio - convert Red Hat Package (RPM) to cpio archive

SYNOPSIS
       rpm2cpio [file.rpm]

DESCRIPTION
       The  rpm2cpio  utility converts the .rpm file specified as its sole argument to a cpio archive on standard output. (See NOTES.) If no argu-
       ment is given, an rpm stream is read from standard input. In both cases, rpm2cpio will fail and print a usage message if the standard  out-
       put is a terminal. Therefore, the output is usually redirected to a file or piped through the cpio(1) utility.

EXAMPLES
       Example 1: Converting an rpm file

       example% rpm2cpio Device3Dfx-1.1-2.src.rpm | cpio -itv
       CPIO archive found!
       -rw-r--r--   1 root  root    2635 Sep 13 16:39 1998, 3dfx.gif
       -rw-r--r--   1 root  root   11339 Sep 27 16:03 1998, Dev3Dfx.tar.gz
       -rw-r--r--   1 root  root    1387 Sep 27 16:04 1998, Device3Dfx-1.1-2.spec
       31 blocks

       Example 2: Converting from standard input

       example% rpm2cpio < Device3Dfx-1.1-2.src.rpm | cpio -itv
       CPIO archive found!
       -rw-r--r--   1 root  root    2635 Sep 13 16:39 1998, 3dfx.gif
       -rw-r--r--   1 root  root   11339 Sep 27 16:03 1998, Dev3Dfx.tar.gz
       -rw-r--r--   1 root  root    1387 Sep 27 16:04 1998, Device3Dfx-1.1-2.spec
       31 blocks

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       +-----------------------------+-----------------------------+
       |      ATTRIBUTE TYPE	     |	    ATTRIBUTE VALUE	   |
       +-----------------------------+-----------------------------+
       |Availability		     |SUNWrpm			   |
       +-----------------------------+-----------------------------+

SEE ALSO
       cpio(1), attributes(5)

NOTES
       rpm2cpio handles versions 3 and 4 RPMs.

SunOS 5.10							    20 Aug 2001 						       rpm2cpio(1)

Check Out this Related Man Page

rpm2cpio(1)                                                        User Commands                                                       rpm2cpio(1)

NAME
rpm2cpio - convert Red Hat Package (RPM) to cpio archive SYNOPSIS
rpm2cpio [file.rpm] DESCRIPTION
The rpm2cpio utility converts the .rpm file specified as its sole argument to a cpio archive on standard output. (See NOTES.) If no argu- ment is given, an rpm stream is read from standard input. In both cases, rpm2cpio will fail and print a usage message if the standard out- put is a terminal. Therefore, the output is usually redirected to a file or piped through the cpio(1) utility. EXAMPLES
Example 1: Converting an rpm file example% rpm2cpio Device3Dfx-1.1-2.src.rpm | cpio -itv CPIO archive found! -rw-r--r-- 1 root root 2635 Sep 13 16:39 1998, 3dfx.gif -rw-r--r-- 1 root root 11339 Sep 27 16:03 1998, Dev3Dfx.tar.gz -rw-r--r-- 1 root root 1387 Sep 27 16:04 1998, Device3Dfx-1.1-2.spec 31 blocks Example 2: Converting from standard input example% rpm2cpio < Device3Dfx-1.1-2.src.rpm | cpio -itv CPIO archive found! -rw-r--r-- 1 root root 2635 Sep 13 16:39 1998, 3dfx.gif -rw-r--r-- 1 root root 11339 Sep 27 16:03 1998, Dev3Dfx.tar.gz -rw-r--r-- 1 root root 1387 Sep 27 16:04 1998, Device3Dfx-1.1-2.spec 31 blocks ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWrpm | +-----------------------------+-----------------------------+ SEE ALSO
cpio(1), attributes(5) NOTES
rpm2cpio handles versions 3 and 4 RPMs. SunOS 5.10 20 Aug 2001 rpm2cpio(1)
Man Page