On Jan 21, 2014, at 2:21 AM, Rajul Bhavsar <rajulbhavsar@gmail.com> wrote:
> Hi,
>
> Does rpm5 provides selective installation of files that begins with a certain path?
> e.g. I want to install files beginning with /usr/lib. I am not able to find option for this functionality.
>
RPM doesnt provide include path because the goal is to manage
packages, not files.
Easiest way to extract some files is likely to use cpio(1) options.
E.g.
rpm2cpio somepackage.rpm | cpio -dim
will extract all files.
hth
73 de Jeff
> I am aware of --excludepath but the list can become huge in future.
>
> Thanks,
> Rajul
Received on Tue Jan 21 17:40:59 2014