create tar (with gz)
tar cvfz /home/knilluz/file.tgz /home/knilluz/test
everything in dir ~/test will be compressed in ~/file.tgz
(c create; v verbose; f archive filename; z gzip)
unpack a tar (tgz)
tar xvfz /home/knilluz/file.tgz
(x extract; v verbose; f archive filename; z unzip through gzip)
Really don’t mix up the x’s and the c’s. Bad things will happen. Really bad things. Very Really bad things. Terrible.
This was perviously posted on my ‘old’ site knilluz.buurnet.nl.