<U10215@uicvm.uic.edu> (06/14/91)
Dear Sir: Is there any way of getting *.shar (tar).Z files to a PC from ftp sites and uncompressing some available utilities? What I know is DOS support only one file extension (fn.tar) not two file extensions (fn.tar.Z)? I transferred fn.tar.Z file to my PC as fn.tar and untarred it; it didn`t work at all. Can you recommend some solutions? Your help or suggestion in this problem is highly appreciated. Sung T. Kim (312) 996-8928 P. S.) Is there any complete documentation about uncompressing files (tar, shar, tar.Z, arj and so on) on PC's ?
carlf@agora.rain.com (Carl Fago) (06/15/91)
In article <91165.094808U10215@uicvm.uic.edu> U10215@uicvm.uic.edu writes: >Is there any way of getting *.shar (tar).Z files to a PC from ftp sites >and uncompressing some available utilities? > >What I know is DOS support only one file extension (fn.tar) not two file >extensions (fn.tar.Z)? > >I transferred fn.tar.Z file to my PC as fn.tar and untarred it; it didn`t >work at all. Can you recommend some solutions? Over on comp.binaries.ibm.pc a UNCOMPRESS for the PC was posted. I have seen an untar for the PC on GEnie. So the utilities are out there. FYI, on a .sh.Z or .tar.Z, just uncompress first and then untar or unshar. It is a sequential process. -- +---------------------------------------------+------------------------------+ | *-=Carl=-* INTERNET - carlf@agora.rain.com | Time is nature's way to keep | | DELPHI - WULFGAR | everything from happening | | Carl Fago Portland, OR | all at once. -anon. |
ts@uwasa.fi (Timo Salmi) (06/15/91)
In article <91165.094808U10215@uicvm.uic.edu> U10215@uicvm.uic.edu writes: > >Dear Sir: I am reminded of Pepparmint Patty from Peanuts :-). >Is there any way of getting *.shar (tar).Z files to a PC from ftp sites >and uncompressing some available utilities? > >What I know is DOS support only one file extension (fn.tar) not two file >extensions (fn.tar.Z)? > >I transferred fn.tar.Z file to my PC as fn.tar and untarred it; it didn`t >work at all. Can you recommend some solutions? Not that simple. There are _two_ steps, not just the one you attempted. You must first uncompress the .Z, and then untar the .tar while juggling a bit with the file names, since two periods are not accepted by MsDos. Here is some more info from /pc/ts/tsfaq21.arc Frequently Asked Questions: From: ts@uwasa.fi Subject: MsDos compress for .Z files, etc Date: Fri 14 Jun 00:00:23 1991 23. ***** Q: Where can I find compress for MsDos to handle .Z files? A: Unix has compress, uncompress and zcat programs to pack or unpack files which are given the .Z extension. These files can also be handled under MsDos using for example /pc/unix/comp430d.zip, which is available from anonymous FTP sites like garbo.uwasa.fi, SIMTEL20, etc. There is one useful trick if you uncompress on MsDos such text files that have been made on Unix with compress. Unix and MsDos have different eolns (end of lines). You can extract a Unix compressed text file as follows comp430d -d -c YourZFile | unix2pc > YourOutputFile where unix2pc.exe is taken from /pc/ts/tsfilt17.arc (or whatever is the current verion number). While we are at it let's look at two similar questions of MsDos counterparts for Unix file handling. Uuencoding and uudecoding is a common method to handle files so that they can be sent as ordinary ascii email. There are several utilities for uu(en/de)coding files on a PC in our /pc/decode directory. One that I can recommend in uuexe413.zip, which has an option to use formats like the one employed in the comp.binaries.ibm.pc binary postings. Yet another often queried counterpart for Unix is tar for MsDos. See our directory /pc/unix for tar extractor utilities such as extar10.zip (or whatever version number is current). -------------------------------------------------------------------- ................................................................... Prof. Timo Salmi Moderating at garbo.uwasa.fi anonymous ftp archives 128.214.12.37 School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun
davidsen@sixhub.UUCP (Wm E. Davidsen Jr) (06/17/91)
In article <91165.094808U10215@uicvm.uic.edu> U10215@uicvm.uic.edu writes: | | Dear Sir: | | Is there any way of getting *.shar (tar).Z files to a PC from ftp sites | and uncompressing some available utilities? Shar and tar are totally separate file formats, one being text and one being binary. | What I know is DOS support only one file extension (fn.tar) not two file | extensions (fn.tar.Z)? The name is unimportant. Run the file (by any name) through the decompress program, then extract the uncompressed tar with pax or another untar program (I think there's one in the queue). Ex: move fn.tar.Z to the PC as foo. uncompres <foo >mumble untar mumble -- bill davidsen - davidsen@sixhub.uucp (uunet!crdgw1!sixhub!davidsen) sysop *IX BBS and Public Access UNIX moderator of comp.binaries.ibm.pc and 80386 mailing list "Stupidity, like virtue, is its own reward" -me