Click to See Complete Forum and Search --> : someone who has used tar :)


Fandelem
10-29-2000, 09:19 PM
please give me the format to tar up /backup and then all the subdirectories and files under it.. also is there an all in one method to tar and gzip it? to make it "backup.tgz"? i have known how to (unzip) tar -zxvf forever but i've never bothered knowing how to (zip) tar -(what goes here to zip stuff :b)

thanks guys,

~kyle

iDxMan
10-29-2000, 11:03 PM
Something like :

tar -zvvcf filename.tgz /path/to/stuff

Note: tar removes the leading '/' . Remember that when decompressing.

-r

Malador
10-30-2000, 06:53 PM
tar cvfz filename.tgz /backup/*

Cheers
Malador