"cd file.zip" instead of "unzip file.zip"?

"cd file.zip" instead of "unzip file.zip"?

Post by Foxtau » Thu, 28 Oct 1999 04:00:00



 I have a bunch of CD-ROM's, each with a bunch of .zip files (containing all
sorts of data). However, I don't have enough free space on my hard drive to
actually unzip all of the CD's.

 So: I would like to be able to type "cd /mnt/cdrom", and then "cd file.zip",
and be able to access the files through bash without having to actually
unzip the .zip files - for example, using 'more' to browse through text files
within the .zip file, or 'zgv' for images, or 'lynx' for HTML files.

 I know of 'gzcat', but the files I use aren't always text files, and the .zip
files usually contain more than one file.

 Do you know of something that I can download to make my life easier, or do
I need to teach myself C?

Thank you for your time,
--
Daniel Boese, the agnostic Gnostic

 
 
 

"cd file.zip" instead of "unzip file.zip"?

Post by Gérard Milmeist » Thu, 28 Oct 1999 04:00:00



Quote:> I have a bunch of CD-ROM's, each with a bunch of .zip files (containing all
>sorts of data). However, I don't have enough free space on my hard drive to
>actually unzip all of the CD's.

> So: I would like to be able to type "cd /mnt/cdrom", and then "cd file.zip",
>and be able to access the files through bash without having to actually
>unzip the .zip files - for example, using 'more' to browse through text files
>within the .zip file, or 'zgv' for images, or 'lynx' for HTML files.

You can use Midnight Commander, a nice console-based file manager.
It doesn't support zip files in its default configuration. However I
think that you can adapt it. Anyways you might as well use .tar.gz
or better yet .tar.bz2 archives, as these are more common on Unix
systems.

--

Tannenrauchstrasse 35
8038 Zrich
Switzerland
+41 1 481 52 48

 
 
 

"cd file.zip" instead of "unzip file.zip"?

Post by Thomas Zaj » Fri, 29 Oct 1999 04:00:00



Quote:>  I have a bunch of CD-ROM's, each with a bunch of .zip files (containing all
> sorts of data). However, I don't have enough free space on my hard drive to
> actually unzip all of the CD's.
>  So: I would like to be able to type "cd /mnt/cdrom", and then "cd file.zip",
> and be able to access the files through bash without having to actually
> unzip the .zip files - for example, using 'more' to browse through text files
> within the .zip file, or 'zgv' for images, or 'lynx' for HTML files.
> [ ... ]

Well, just about every file manager I know about supports this - try
searching http://www.freshmeat.net/, there must be millions of file
managers and ZIP utils. Personally, I use mc (Midnight Commander).

HTH,
Thomas
--
=---------------------------------------------------------------------------=
=   Thomas Zajic / running Free Agent 1.11/32 on Linux 2.0.38/Wine-990731   =
=   "It is not easy to cut through a human head with a hacksaw." -- M. C.   =
=---------------------------------------------------------------------------=