The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 02-01-2001
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,646
The way I do this is pretty simple. On my Windows platforms, I use <B>winzip</B> for both zipping and unzipping.

On the UNIX platform I use <B>unzip</B> and <B>zip</B>.

Quote:
zip is a compression and file packaging utility for Unix,
VMS, MSDOS, OS/2, Windows NT, Minix, Atari and Macintosh,
Amiga and Acorn RISC OS.
Quote:
unzip will list, test, or extract files from a ZIP
archive, commonly found on MS-DOS systems. The default behavior (with no options) is to extract into the current directory (and subdirectories below it) all files from the specified ZIP archive. A companion program, zip(1L), creates ZIP archives; both programs are compatible with archives created by PKWARE's PKZIP and PKUNZIP for MS-DOS, but in many cases the program options or default behaviors differ.
Naturally, there are other ways to do this, but this works great for me without problems.

If the files are originallly gzipped, then I uncompress with gzip and 're-zip' with zip if and only if I have to move them to my Windows platforms. So, for files that have to be used across platforms I use zip. If the files are only for UNIX, I generally use gzip. That works for me and since I use Samba on Linux to serve Windows files, zip files are easily stored and retrieved on the UNIX servers. There are other ways, of course; but this seems to work best for me.