[CentOS] Tar Compression issue

Nicolas Thierry-Mieg Nicolas.Thierry-Mieg at imag.fr
Tue Mar 18 10:58:02 UTC 2014



On 03/18/2014 10:22 AM, Bonnie B Mtengwa wrote:
> I have a file Server CentOS 5.10, its on the internet, so I compress all csv
> into one file using (tar -czvf compressed_files.tar.gz  *.csv)  on this
> server so that I can download them as one compressed file to save bandwidth,
> Disk space on this server available is 50Gig, so when I copy the files onto
> Redhat EL 5.9 and decompress them using (tar -zxvf *.gz) It decompresses
> maybe 80% then get error:
>
>
>
> gzip: stdin: unexpected end of file
>
> tar: Unexpected EOF in archive
>
> tar: Unexpected EOF in archive
>
> tar: Error is not recoverable: exiting now
>
>
>
> what might be the issue here?

corrupt file when downloading?
try gunzip -t on the server to confirm archive is ok on that end.
and you could md5sum as well, to test the integrity of what you dl'd.




More information about the CentOS mailing list