On Sat, 2003-04-05 at 14:10, Thomas E. Dukes wrote:
> Is there an application that will allow you to view the contents of a
> .rpm file and extract only selected files to a specified directory?
> Like a WinZIP/File Roller for RPMs.
> 
> I know rpm -qlp will display the files in an rpm but I'm looking for
> something that will view/extract.
> 
> If not, is there an rpm command that will extract a specified file to a
> specified directory?
> 
> TIA
> 
> Palmetto Shopper 
> http://www.palmettoshopper.com
> Serving all of South Carolina and beyond!

hi thomas,

well, there's not really a viewer in the true sense, but you can do
pretty much what your looking for with:

rpm2cpio rpmname.rpm | cpio -t ; see the files
rpm2cpio rpmname.rpm | cpio -ivd; extract all to local disk

with cpio, you can get pretty granular ...

cheers

christopher cuse



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to