Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Programming in Linux _ Tar files made in Linux

Posted by: pacesetter Dec 5 2007, 07:13 AM

I am trying to decompress a tar file I made on a linux box on windows, but all i get is one huge file.

Why??

here is what I did step by step.

on the linux box I typed.

CODE
tar czvf foo.tar foldername


which gave me the file foo.tar.

I then sent that file via FTP to an FTP site.

I logged into the FTP with a windows station and downloaded the tar file.

I used winrar to view the contents of the tar file.

but all I see is one single file named the same as the folder name.

The tar file works correctly if I extract it, or any single file from within it from the command line on the linux box.

What can/should I do to make tar files accessible by other compression software??

thanks,
C

Posted by: michaelk Dec 6 2007, 12:09 PM

I have not played with winrar but winzip does not have any problems uncompressing a tar.gz file.

Posted by: matt Apr 17 2008, 08:22 AM

I use WinRAR for all my conversions back and forth from my Linux Server to my Windows Box. and i find it works great for most linux formats. tar, gzip, bz2. 7zip is another good program but WinRAR takes care of 7z files as well smile.gif

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)