Article View: comp.sys.ibm.pc.misc
Article #954Re: ZIP Re: compress & tar on PC?
From: David Irvine Laurenson
Date: Wed, 15 Apr 1992 23:35
Date: Wed, 15 Apr 1992 23:35
37 lines
2149 bytes
2149 bytes
sparap@jim.mscs.mu.edu (Rodney Sparapani) writes: >In article <ZHOU.92Apr14170516@ANACIN.BOLTZ.CS.CMU.EDU> zhou@cs.cmu.edu (Frank Lei Zhou) writes: >>Hi PC world, >>answered before. I would like to know if there is any program on PC >>which can uncompress and untar a file that is tar'ed and compress'ed >>on a Unix machine. The key is that the compress and tar programs on >>BOTH Unix machine and PC must recognize the file previously processed >>at the other end. >> >> >>Frank There are copies of tar and compress for the PC somewhere in the public domain. I think they are at Simtel20 in the file utilities directory for MSDOS (FILUTL I think). There are a wide selection to choose from - comments on which ones are best??? >To: zhou@cs.cmu.edu >We recently had a similar problem. Files were zipped(PKZIP). >One of the problems was the differences in the ASCII file formats >of DOS and UNIX. To get around this(in HP-UX), there are two >commands ux2dos file1 > file2 and dos2ux file1 > file2. >The problem remains: were the original files UNIX or DOS? >Are the zipped files UNIX or DOS? I don't know how to get around this >problem except to go through all the possible permutations until >the program works or looks correct. The .ZIP files are not in any particular format (Unix or DOS), so don't try any conversion on them - treat them as binary files... As the files are unzipped you can convert them using unzip. I know that the version mounted on our unix boxes (suns) of unzip (V4.1) has a flag for converting to Unix format (-a). I would reckon that this is the safest route to take. Dave.
Technical Details
Message-ID:
<dil.703380957@genesis.sce.carleton.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!utgpu!cunews!genesis.sce.carleton.ca!dilReferences:
<ZHOU.92Apr14170516@ANACIN.BOLTZ.CS.CMU.EDU> <2853@spool.mu.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.ibm.pc.misc Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!utgpu!cunews!genesis.sce.carleton.ca!dil From: dil@sce.carleton.ca (David Irvine Laurenson) Subject: Re: ZIP Re: compress & tar on PC? Message-ID: <dil.703380957@genesis.sce.carleton.ca> Sender: news@cunews.carleton.ca (News Administrator) Organization: Carleton University References: <ZHOU.92Apr14170516@ANACIN.BOLTZ.CS.CMU.EDU> <2853@spool.mu.edu> Distribution: comp Date: Wed, 15 Apr 1992 23:35:57 GMT Lines: 37