$pwd
/home/shaleh/files
$tar zcvf ../files.tar.gz *
...
$cd ..
$ls files.tar.gz
files.tar.gz
$_

zcvf creates a gzipped tar file. "c" == create.

Make sure you put the new tarball outside of the directory you are
tarring or it will try and include the tar in itself creating a nasty
loop.


--
E-mail the word "unsubscribe" to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble? E-mail to [EMAIL PROTECTED]

Reply via email to