Postgresql-8.0.1

Aleksandar Milivojevic amilivojevic at pbl.ca
Tue Feb 8 19:14:24 UTC 2005


Rodolfo J. Paiz wrote:
> On Mon, 2005-02-07 at 18:43 -0500, Robert L Cochran wrote:
> 
>>Can someone tell me how to extract just one or two files from an RPM?
>>
> 
> 
> I believe cpio does this.

This will extract a file from the archive:

$ rpm2cpio < package.rpm | cpio -id ./etc/init.d/startupfile

There might be some simpler way of doing it, but this worked for me.

-- 
Aleksandar Milivojevic <amilivojevic at pbl.ca>    Pollard Banknote Limited
Systems Administrator                           1499 Buffalo Place
Tel: (204) 474-2323 ext 276                     Winnipeg, MB  R3T 1L7




More information about the fedora-list mailing list