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