Search This Blog

Friday, January 14, 2011

Simple TAR usage (TAR for dummies :))

to compress:
tar cvzf allfiles.tar.gz  ./name/name_of_folder
tar cvzf allfiles.tar.gz  ./name/name_of_folder/*
tar cvzf allfiles.tar.gz  *.doc

to preserve permissions:
tar cvzpf allfiles.tar.gz  ./name/name_of_folder

to decompress to current directory:
tar xvzpf allfiles.tar.gz

x - extract
c - create
v - verbose
z - gz library compression
f - compressed file name
p - preserve permssions

1 comment:

  1. And, the other greatest reason behind their popularity and rolex replica sale is the fact that these are comparatively a lot cheaper than the original ones. These replica watches though, look just like hublot replica sale but these differ in quality of material being used in these and the mechanism. This is why tag heuer replica watches can be bought after having spent a very affordable amount of money. A watch has now gained the status of a very much sought after fashion item that every man and women like to accessorize with. This is the reason rolex replica come in different latest fashion trends in accordance with all the seasonal changes and events. All those who have a passion for replica watches sale usually go for the branded ones because these are truly magnificent with all the rolex replica sale inverted with fashion and trends. But, this comes with a very high cost and not everyone can afford to buy these original branded watches.


If you like this post, please leave a comment :)