home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / misc / 3607 < prev    next >
Encoding:
Internet Message Format  |  1992-09-09  |  2.4 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!spool.mu.edu!decwrl!concert!sas!mozart.unx.sas.com!sasmob
  2. From: sasmob@chewy.unx.sas.com (Mark C. Burhans)
  3. Newsgroups: comp.unix.misc
  4. Subject: Re: Help: *.tar.Z
  5. Message-ID: <BuByFs.AzE@unx.sas.com>
  6. Date: 9 Sep 92 21:31:04 GMT
  7. References: <4SEP199214143882@envmsa.eas.asu.edu>
  8. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  9. Organization: SAS Institute Inc.
  10. Lines: 47
  11. Originator: sasmob@chewy.unx.sas.com
  12. Nntp-Posting-Host: chewy.unx.sas.com
  13.  
  14.  
  15. In article <4SEP199214143882@envmsa.eas.asu.edu>, marbun@envmsa.eas.asu.edu (Marbun,Leo P) writes:
  16. |> Hi,
  17. |> 
  18. |> I was trying to get some programs from anonymous ftp sites, and found out
  19. |> that most files for unix are under *.tar.Z name. Please let me know how
  20. |> to make the files executable? Do I need a tar.Z archiver? I can't seem to
  21.  
  22. First, put the filename.tar.Z in it's own directory; and 'cd' into that
  23. directory; you never know what the heck is in those things.<GRIN>
  24.  
  25. Second, uncompress that puppy:
  26.   uncompress filename.tar
  27.  
  28. Note:  The .Z extension is assumed with uncompress
  29.  
  30. At this point, filename.tar.Z no longer exists.  We now have a
  31. filename.tar to untar.
  32.  
  33. Third, untar that rascal:
  34.   tar -xfo filename.tar
  35.  
  36. You *will* need to use those switches (-xfo)!  Why?
  37.   -x    ------ Extract files
  38.   -f    ------ Data is in a file, not on tape.
  39.   -o    ------ Data that is extracted is now owned by *me*.  This one is
  40.                extremely important when you realize you've untarred a
  41.                subdirectory that has read-only permission and it belongs
  42.                to some user name JES8234abq and in this read-only
  43.                directory is a read-only file named 'hermit' that also
  44.                belongs to JES8234abq and is 2.31 Megabytes!!!
  45.  
  46. Note:  The entire name of the tarred file must be provided.  It is
  47. convention that .tar is used to signify a tarred file.  'tar' does not
  48. put the .tar extension there.  In contrast, 'compress' appends a .Z to the
  49. file.
  50.  
  51.  
  52. Now you have all these new files along with the original filename.tar.
  53. Whether these files are 'executables' or not should be explained in an
  54. untarred README-type file.
  55. -- 
  56. ---Mark C. Burhans---sasmob@chewy.unx.sas.com---919/677-8001 ext 7324
  57. SAS Institute, Inc., USA, SAS Campus Drive, Cary, NC 27513.
  58. "If you want a resume, I'll put it in writing.  It's only good for a day
  59. and the contents are frightening."  -- Lyrics by Harry Connick, Jr.
  60.  
  61.