Hello, On Tue, 01 Oct 2013, Rajko wrote:
On Tue, 1 Oct 2013 23:35:28 +0000 (UTC) Jim Henderson <hendersj@gmail.com> wrote:
I need to find that - every once in a while I need a single file out of an RPM that I can't install (dependencies), and using cpio to extract it is kinda a pain.
You can also use Midnight Commander for that. http://en.opensuse.org/Midnight_Commander http://en.opensuse.org/SDB:Midnight_Commander_tips
It is simple as copy file out of the virtual file system.
Funny, the same is valid for deb, tar.gz and many other, although all those require helper applications, or libraries.
The biggest fun is that in some cases one can add files to archives. I did not research what works and what not, but it is easy to test, just try to copy some file into archive and mc will tell.
Actually, you can even _EDIT_ files "inside" the archive where supported! E.g. inside ZIP archives. I use that regularly with ".xpi"-extensions for seamonkey/firefox. Often, they have too low max-versions or claim to not work at all in seamonkey[1]. At times, that too low version really is the only problem with an extension. So, I DL that .xpi, select it with mc, tap enter to "enter" the zipfile[2], select the install.rdf, tap F4 to edit, edit[3], F10 to save & exit, and you should even get a install.rdf~ backup file inside the .xpi zip-archive. At least I got a bunch of those in my ~/.mozilla/, e.g.: +<- scriptish-0.1.4.xpi/uzip:// --.[^]>+ |'h Name | Size |Modify time | |/.. |UP--DIR|Jul 4 20:32| |/components | 0|Oct 2 2011| [.] | install.rdf~ | 3752|Aug 8 2011| | install.rdf | 3753|Oct 2 2011| Ok, that's one .xpi left over from a while back, but you get the idea. So, yeah. mc rules! -dnh, is mc in the "minimal" install pattern? on the "net-install" CD? (the latter might be hard due to deps). The included "mcedit" being a self-explaining editor is a big pro IMO. Oh well, more on my todo-list. [1] at times for a very good reason, some do mess up Seamonkey quite thoroughly, so unless you know how to recover from that cleaning up ~/.mozilla/seamonkey without losing your other settings and mail etc., DO NOT DO THAT! But often enough, the install.rdf is just missing the Seamonkey entry and/or has too low "max" versions and the extension works just fine with "too" new Seamonkies/newer Firefoxen. But if it doesn't, uninstall often works, but at times esp. with seamonkey, you'll have to manually edit/clean up e.g. various .rdf files. [2] not sure if that's integrated (it's just a missing setting in mc's extension file, you may bug me about that, but I might ignore it), ATM it fails here, what does work though is 'mc foo.xpi/uzip://' (same goes e.g. for java's .jar files (they need a special order in the header with the Meta-stuff), so don't create or change those with mc's uzip://, but reading, searching, copying files out works just fine. [3] e.g. copy & paste my standard seamonkey block with max-version of 2.99 ;) -- I am the "ILOVEGNU" signature virus. Just copy me to your signature. This message was infected under the terms of the GNU General Public License. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org