From owner-freebsd-current@FreeBSD.ORG Sat Feb 22 23:05:31 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0290B375 for ; Sat, 22 Feb 2014 23:05:31 +0000 (UTC) Received: from mail.modirum.com (mail.modirum.com [31.185.27.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8D0D0164F for ; Sat, 22 Feb 2014 23:05:29 +0000 (UTC) Received: from [77.87.241.103] (helo=desktop.reztek) by mail.modirum.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1WHLdH-000LWJ-Fa for freebsd-current@freebsd.org; Sat, 22 Feb 2014 23:05:19 +0000 From: Matthew Rezny To: freebsd-current@freebsd.org Subject: Re: base unzip on 10-STABLE/ 11-HEAD "unzip: skipping non-regular entry" Date: Sun, 23 Feb 2014 00:05:20 +0100 Message-ID: <1589586.YeM053UtWR@desktop.reztek> Organization: RezTek, s.r.o. User-Agent: KMail/4.10.5 (FreeBSD/10.0-STABLE; KDE/4.10.5; amd64; ; ) In-Reply-To: <1393025888512-5887996.post@n5.nabble.com> MIME-Version: 1.0 X-SA-Authenticated: Yes X-SA-Exim-Connect-IP: 77.87.241.103 X-SA-Exim-Mail-From: matthew@reztek.cz X-SA-Exim-Scanned: No (on mail.modirum.com); SAEximRunCond expanded to false X-Mailman-Approved-At: Sun, 23 Feb 2014 00:55:35 +0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Feb 2014 23:05:31 -0000 > Hello, > > Unfortunately, this is the case with *zips from Dropbox (Download > as .zip) directory option. > > $ /usr/bin/unzip file.zip > Archive: file.zip > unzip: skipping non-regular entry '' > unzip: skipping non-regular entry 'A B C D.pdf' > > archivers/unzip manages this case though... > > $ /usr/local/bin/unzip file.zip > Archive: file.zip > warning: stripped absolute path spec from / > mapname: conversion of failed > inflating: A B C D.pdf > > Tested on 10-STABLE, but should be the same on HEAD. % /usr/bin/unzip sr003-02-24192.zip Archive: sr003-02-24192.zip unzip: Mac metadata is too large: 2520404 > 128K bytes FAIL % unzip -t sr003-02-24192.zip Archive: sr003-02-24192.zip unzip: Mac metadata is too large: 2520404 > 128K bytes really? % /usr/local/bin/unzip -t sr003-02-24192.zip Archive: sr003-02-24192.zip testing: sr003-02-24192.wav OK testing: __MACOSX/ OK testing: __MACOSX/._sr003-02-24192.wav OK getting better % /usr/local/bin/unzip sr003-02-24192.zip -x __MACOSX/* Archive: sr003-02-24192.zip inflating: sr003-02-24192.wav Flawless victory :) Base unzip isn't very useful. Having it first in the path is just annoying.