Re: searching in zipped files
- Posted by "Gerardo E. Brandariz" <gebrandariz at YAHOO.COM> May 30, 2000
- 386 views
------=_NextPart_000_00DF_01BFCA91.1C50F6C0 charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Hi, everybody! ----- Original Message -----=20 From: Chris Bensler=20 To: EUPHORIA at LISTSERV.MUOHIO.EDU=20 Sent: Monday, May 29, 2000 3:14 AM Subject: Re: searching in zipped files I don't know if you can view a file while in zipped format, but you = can unzip the archive to a temp folder and view the files that way. Then = just delete the temp folder when your done. As far as I can tell, even = winzip does this to view a file in the archive. you can use pkzip from = the command line in your program to access the archive. Chris anybody done some program that searches text in zipped files or = knows how to do it? It would be very useful -- To view and search inside compressed files, I use Christian = Ghisler's Windows Commander (Win32 version), which you can find at = http://www.ghisler.com. Extremely fast and reliable, not only does it = have internal zip compression and decompression, but also internal = un-arj, un-lzh, un-rar and un-ace. Its default is not to search within = archives, but you can enable that in the search window itself (you can = save and load searches). The resulting files can be viewed from that = same window, or you can 'feed to listbox', creating a pseudo-directory = containing all the search results, which you can navigate at pleasure = (viewing, editing, etc.). I repeat, it's very fast. My slowest machine is a veteran 486 = DX4-100 with just 8 MB RAM (yes, that's eight, not eighteen or eighty!). = I use it for writing and testing. I've run on it many a Wincmd search = inside zips and I assure you I didn't have time to get a cup of coffee. For Linux users, there's the Midnight Commander. I don't think it = can search for text, but it can assuredly view compressed and/or = archived files, at least .tar, .gz, .zip, .tar.gz, and .zip (I'm not = sure about rpm's, maybe it was just on the wish list). Best luck. Gerardo E. Brandariz ------=_NextPart_000_00DF_01BFCA91.1C50F6C0 charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-2" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2014.210" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT size=3D2>Hi, everybody!</FONT></DIV> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: = 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px"> <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV> <DIV=20 style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = black"><B>From:</B>=20 <A href=3D"mailto:bensler at MAILOPS.COM" = title=3Dbensler at MAILOPS.COM>Chris=20 Bensler</A> </DIV> <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20 href=3D"mailto:EUPHORIA at LISTSERV.MUOHIO.EDU"=20 title=3DEUPHORIA at LISTSERV.MUOHIO.EDU>EUPHORIA at LISTSERV.MUOHIO.EDU</A> = </DIV> <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, May 29, 2000 3:14 = AM</DIV> <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: searching in = zipped=20 files</DIV> <DIV><BR></DIV> <DIV><FONT color=3D#0000ff face=3D"Comic Sans MS">I don't know if you = can view a=20 file while in zipped format, but you can unzip the archive to a temp = folder=20 and view the files that way. Then just delete the temp = folder when=20 your done. As far as I can tell, even winzip does this to view a file = in the=20 archive. you can use pkzip from the command line in your program to = access the=20 archive.</FONT></DIV> <DIV> </DIV> <DIV><FONT color=3D#0000ff face=3D"Comic Sans MS">Chris</FONT></DIV> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; = MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px"> <DIV><FONT face=3D"Lucida Casual" size=3D2>anybody done some program = that=20 searches text in zipped files or knows how to do it?</FONT></DIV> <DIV><FONT face=3D"Lucida Casual" size=3D2>It would be very = useful</FONT></DIV> <DIV> </DIV> <DIV> </DIV> <DIV><FONT size=3D2> -- To view and search inside compressed = files, I use=20 Christian Ghisler's Windows Commander (Win32 version), which you can = find at=20 <A href=3D"http://www.ghisler.com">http://www.ghisler.com</A>. = Extremely fast=20 and reliable, not only does it have internal zip compression and=20 decompression, but also internal un-arj, un-lzh, un-rar and = un-ace. Its=20 default is not to search within archives, but you can enable that in = the=20 search window itself (you can save and load searches). The resulting = files=20 can be viewed from that same window, or you can 'feed to listbox', = creating=20 a pseudo-directory containing all the search results, which you can = navigate=20 at pleasure (viewing, editing, etc.).</FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2>I repeat, it's very fast. My slowest machine is = a veteran=20 486 DX4-100 with just 8 MB RAM (yes, that's eight, not eighteen or = eighty!).=20 I use it for writing and testing. I've run on it many a Wincmd = search inside=20 zips and I assure you I didn't have time to get a cup of=20 coffee.</FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2>For Linux users, there's the Midnight Commander. = I don't=20 think it can search for text, but it can assuredly view compressed = and/or=20 archived files, at least .tar, .gz, .zip, .tar.gz, and .zip (I'm not = sure=20 about rpm's, maybe it was just on the wish list).</FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2>Best luck.</FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2>Gerardo E.=20 ------=_NextPart_000_00DF_01BFCA91.1C50F6C0-- __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com