Unzipping tar.gz giving error

lazygizmo

New Member
Hey Guys
So first i was backing up data on my other server that had webmin so what i did was to tar a folder i used this command
Quote: tar -czvf filename.tar.gz /var/www/html/myfolder ok and now that folder was tarred to filename.tar.gz

then i went to the new hosting and wget the filename.tar.gz on it
and now when i am untar it via this command
Quote: tar -zxvf filename.tar.gz ie i am using the above command in my domain directory where the file got wget
so after untarring some files i get this error via ssh


Quote: gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Thankyou are you sure its tar and not gzip.

try gzip -d yourfile.tar.gz Quote: are you sure its tar and not gzip.

try gzip -d yourfile.tar.gz i have updated the first post
smile.gif
file is corrupted
sad.gif
ok mate thanks for the reply
 
Top