From owner-freebsd-stable@FreeBSD.ORG Sun Jul 6 17:26:01 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0FFFBF49 for ; Sun, 6 Jul 2014 17:26:01 +0000 (UTC) Received: from mail-ob0-x22f.google.com (mail-ob0-x22f.google.com [IPv6:2607:f8b0:4003:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CD72523BB for ; Sun, 6 Jul 2014 17:26:00 +0000 (UTC) Received: by mail-ob0-f175.google.com with SMTP id wm4so3565514obc.20 for ; Sun, 06 Jul 2014 10:26:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=PuuuWDBZ/bNdwssVhPUWeimH5/PbjOwjk/IArO3a0HY=; b=kiYc7zJ1YtrhAmjQavkAl56fUVVakz/EfQhLrlscJmAryhjlm95lLRlkP2IVWtSHEH KRX3mYStszTZIBsWOFc/xEeVLVXPrng6Vi3v4rbA0+lwiN5X/kMQnRxP9LKYUQyIXuf+ HIEu3KxPWopjcMEUwuoFKSfoEW0OF71ZpdHsC+gGI9yUMPb4hTtx8o2AQan1gY+b227t pvdTa7VdFsFwIDA8KiWtF0g2FJZjr/TmiumpY0KcKJv/ZPbn4j2oAWdeccGCHG6hj6rP /YnbESseH8VeNsR+NxJzoXdHXviIbwA258yxLZy6D1MbsDzCX6DtTaeE2gNqfgZbna1i IMEQ== MIME-Version: 1.0 X-Received: by 10.182.102.194 with SMTP id fq2mr26041411obb.38.1404667560219; Sun, 06 Jul 2014 10:26:00 -0700 (PDT) Received: by 10.202.182.130 with HTTP; Sun, 6 Jul 2014 10:26:00 -0700 (PDT) In-Reply-To: References: Date: Sun, 6 Jul 2014 19:26:00 +0200 Message-ID: Subject: Re: unzip bugs? From: Zenny To: "freebsd-stable@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jul 2014 17:26:01 -0000 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 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 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! >> > >