Web Hosting Talk







View Full Version : tar command help urgent


mpkapadia
08-15-2001, 01:32 PM
If i want to unzip a tar.gz the command is tar -xzvf filename.tar.gz


What i want to do is opposite
How to create a .tar.gz which will take all folders and subfolders of the current folder
I need the telnet command for it.

I want to this bcos i have to do server to server transfer of a huge website.

Please respond asap

With regargs
Manish Kapadia

atiep
08-15-2001, 01:35 PM
tar cfzp /destination-dir/some.tar.gz /source-dir

The Prohacker
08-15-2001, 01:36 PM
' tar -czf tarname.tgz dirname '

mpkapadia
08-15-2001, 02:27 PM
Thank you guys
It worked , thanks a lot once again

Manish Kapadia