Posted on Saturday, 23rd February 2008 by Lee
I constantly forget how to tar a directory. I think the ln command and the tar command have their parameters in different orders and I can never seem to remember which parameter is the dir you are archiving and which one is the name for the archive. So here it is:
tar -czf archive.tgz dirName
Posted in Everyday Tips, Sys Admin | Comments (0)










