Re: Tar Compression issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, Mar 18, 2014 at 5:58 AM, Nicolas Thierry-Mieg
<Nicolas.Thierry-Mieg@xxxxxxx> wrote:
>
>
> 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.

Maybe the classic ftp text vs, binary transfer?   Personally I would
have used rsync over ssh with the -z option for compression since it
is one simple command, very efficient, repeatable and restartable.

-- 
  Les Mikesell
     lesmikesell@xxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux