Wednesday, December 28, 2011

Using tar to create .tgz files

Here's the command:

tar cvzf foo.tgz *.cc *.h;rm *.cc;rm *.h

From here:

http://www.cs.duke.edu/~ola/courses/programming/tar.html