I have an RPM contaning files in
./var/lib which I need to extract onto my filesystem on a Debian machine. I'm trying to do this:
rpm2cpio myrpm.rpm | cpio -ivd ./var/lib
Nothis is extracted. If I specify the full path to the exact file which I want, I get it, but I need to extract the entire tree.
How can I extract the entire tree (ie: all files within a directory in the RPM) to the local filesystem?