Gzip: stdinhasmorethanoneentry -- restignored

Source: Internet
Author: User
The error "gzip: stdinhasmorethanoneentry -- restignoredtar: Childreturnedstatus2tar: Errorisnotrecoverable: exitingnow" is returned when you use the tarcommand to decompress the. zip file this day.

If you decompress the. zip file using the tar command today, an error is returned:

 

gzip: stdin has more than one entry--rest ignoredtar: Child returned status 2tar: Error is not recoverable: exiting now
You can find that the tar command calls gzip, but gzip does not allow you to decompress all files. The following is an example:

 

Files created by zip can be uncompressed by gzip only if they have a single member compressed with the 'release' method.

Use the following command to solve the problem: (unzip command,-d specifies the output directory)

 

unzip xxxxxx.zip -d /home/acer/Desktop/
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.