Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!usc!jarthur!nntp-server.caltech.edu!pooh!madler From: madler@pooh.caltech.edu (Mark Adler) Newsgroups: comp.sys.next Subject: Re: FAQ -- Question #1(Next public domain software). Message-ID: <1991Jan16.034038.14804@nntp-server.caltech.edu> Date: 16 Jan 91 03:40:38 GMT References: <1127@toaster.SFSU.EDU> Sender: news@nntp-server.caltech.edu Organization: California Institute of Technology, Pasadena Lines: 25 Nntp-Posting-Host: pooh.caltech.edu eps@cs.SFSU.EDU (Eric P. Scott) believes: >> tar xopf is more appropriate in nearly all cases. I generally >> toss a "v" in there too. The "o" has no effect with "x" (it forces an old tar format when *making* tar files). The "p" option uses the modes in the tar file, which I don't think is a good idea unless you're going to always look at the modes afterwards. I hate ending up with files writable by everyone, and not noticing. Tossing a "v" in is quite useful, since you see what files tar made and where it put them. My untarz command is: zcat $1.tar.Z | tar xvf - and my tarz command is: tar covf $1.tar $1 compress $1.tar I also have untarzrm and tarzrm commands which delete the .tar.Z, or the packaged directories respectively. Note that my tarz command expects the name of a directory and will package whatever is in there, with the directory name. This makes for much cleaner untarz's, since the resulting files don't get all mixed up with whatever files are in the current directory. Mark Adler madler@pooh.caltech.edu