Page 1 of 1

Invalid tar magic with tar command. Help.

Posted: Fri Jan 06, 2017 1:35 am
by Blender
I'm trying to extract a tarball and I get the following error..

"tar: Invalid tar magic"

My syntax is tar -xzvf file.tar.gz

Any thoughts?

Re: Invalid tar magic with tar command. Help.

Posted: Fri Jan 06, 2017 6:50 am
by creshal
Try gunzip, maybe it'll give you a better error message, but most likely the file is damaged.

Re: Invalid tar magic with tar command. Help.

Posted: Mon Jan 09, 2017 2:06 am
by jaspen-meyer
The powertool for this is arc.

Code: Select all

arc - Archive utility based on the MSDOS ARC program