TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:5185] making tarballs



On Thu, 8 Apr 1999, Michael Hicks wrote:

> Well, 'tar zcf <tarball>.tar.gz <directory>' usually works for me.  The
> 'z' option compresses it with gzip for you.  Otherwise, you can pipe a
> tar through gzip or something (but I don't like typing that much stuff

Ah, yes. I neglected to include the 'directory' in the above command. The
result was that it was creating the tarball and gave it the name of the
first file listed in the directory, thereby nuking the contents of that
file. Let's just say I was glad that I'd just made a copy of the directory
in question before trying it for the first time. :-) Why don't I think to
do that kind of thing more often?

Thanks for the hint.

-Tim

--
Timothy D. Wilson			"A little song, a little dance,
University of MN, chem. dept.		a little seltzer down your 
wilson@chem.umn.edu			pants."   -Chuckles the Clown
Phone: (612) 625-9828                       as eulogized by Ted Baxter