unzip bugs?

Zenny garbytrash at gmail.com
Sun Jul 6 17:26:01 UTC 2014


Successfully decompressed with tar, but while opening the files, it says:

"Not a JPEG file: starts with 0x00 0x00"

Hmmm...


On Sun, Jul 6, 2014 at 7:22 PM, Zenny <garbytrash at gmail.com> wrote:

> Solved:
>
> Used 'tar -zxvf file.zip' and it worked flawlessly. ;-D Good old archiver!
>
>
> On Sun, Jul 6, 2014 at 7:06 PM, Zenny <garbytrash at gmail.com> wrote:
>
>> Tried to unzip the image files downloaded from a smartphone (S4) and it
>> just fails to do anything rather than corrupting the original files.
>>
>> % unzip Camera.zip
>> Archive:  Camera.zip
>> unzip: skipping non-regular entry '20140705_150730.jpg'
>> unzip: skipping non-regular entry '20140705_150727.jpg'
>> unzip: skipping non-regular entry '20140705_150718.jpg'
>> unzip: skipping non-regular entry '20140705_150701.jpg'
>> unzip: skipping non-regular entry '20140705_150655.jpg'
>>
>>
>> But the -t flag gives the output correctly to all zip files:
>>
>> % unzip -t Photos_downloaded_by_AirDroid.zip
>> Archive:  Photos_downloaded_by_AirDroid.zip
>>     testing: 20140705_150730.jpg     OK
>>     testing: 20140703_201731_Richtone(HDR).jpg     OK
>>     testing: 20140503_061145.jpg     OK
>>     testing: 20140507_092622.jpg     OK
>>
>> Saw a thread here with similar issues:
>>
>> http://lists.freebsd.org/pipermail/freebsd-current/2014-February/048454.html
>>
>> But does not seem to solve the problem in FreeBSD-10.0!
>>
>> Any inputs? Thanks!
>>
>
>


More information about the freebsd-stable mailing list