On Tue April 14 2009 1:47:19 pm Per Jessen wrote:
Richard wrote:
I have a RPM file built with rpmbuild which contained sourcefiles for the application. Due to a disk crash, I lost the original sources. I still have a copy of the project.src.rpm which contains a file that I need to recover.
How can I recover/extract a single file from an RPM file?
rpm2cpio | cpio -i --no-absolute-filenames "filename"
/Per
Thankyou for that tip....I think the RPM is corrupt but I'll see if it is still in my Trash and restore it and give your tip a try. MC works fine for all the other rpms I tried, it is just that *this* one had something in it I needed to recover. I'm hoping a backup exists on one of my other file servers thata is intact. Richard -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org