How can i use rpm to retrive a specific file from a package?
Alexander Dalloz
alexander.dalloz at uni-bielefeld.de
Fri Jan 9 22:14:35 UTC 2004
Am Fr, den 09.01.2004 schrieb Technical um 23:07:
> I want to recover the sendmail.mc file from the sendmail package. How can
> I get rpm to just give me that one file. Thanks in advance
cpio2rpm sendmail.rpm | cpio -t --> lists contents, maybe with path
cpio2rpm sendmail.rpm | cpio -ivd FILE
extracts the desired file, maybe FILE is with full path, see output with
cpio -t
Alexander
--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
More information about the fedora-list
mailing list