l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2006 Apr 11 12:06

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] unzip producing output that is garbage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] unzip producing output that is garbage

Dylan Beaudette wrote:

downloaded some data from the seamless.usgs.gov website, only to find that the ZIP archives that it delivered expanded to garbage!
running `file` on all of the contents returned "data", when other types should have been recognized. Also, a tiff file that was included in the archive is not being recognized as a tiff in any program. Text files have extra garbage near the top of the files.
Any thoughts on what could be causing this?

I have tried `unzip -b` as well, trying to force the un-archiving of the tiff file as binary, but without luck.

Any thoughts/ ideas?


You use the phrase "expanded to garbage"... I have experienced file
corruption in the past using Netscape on Linux when the server
was saying the file MIME type was text.  The symptoms were that the
file would not expand at all, though, so this may not apply in your case.

The correct answer was for the server administrator to fix the MIME
type reporting, but sometimes they are too clueless to respond to
the cluebat, and my workaround at that time was to use IE to download
the files on Windows, and I haven't experienced it in awhile so either
the cluebats have been working or Firefox is implementing the M$-approved
second-guessing of file types.

Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil@dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.