how to get one file from an RPM

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Tue Jan 6 00:44:41 UTC 2004


Am Mo, den 05.01.2004 schrieb Jeroen Lankheet um 21:47:
> How can I get the sendmail.mc file from the rpm or how can I get it
> elsewhere?
> I was stupid and forgot to copy the original.
> 
> Thanks

rpm2cpio sendmail.src.rpm | cpio -t
   this lists the content

rpm2cpio sendmail.src.rpm | cpio -ivd FILE_FROM_LIST
   extracts the file you give the command, if path is listed by cpio -t
then you must give that with the filename

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