Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Michael Torrie Newsgroups: comp.lang.python Subject: Re: creating zipfile with symlinks Date: Fri, 4 Mar 2016 21:45:28 -0700 Lines: 7 Message-ID: References: <56D8AEBB.6060102@mrabarnett.plus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de VM6hBnNAISt6v+dV0OAm4wASb/tT5zgL+ZxtZY6/lybg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.024 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'compression': 0.09; 'python': 0.10; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'storing': 0.16; 'zipfile': 0.16; 'wrote:': 0.16; 'am,': 0.23; "python's": 0.23; 'header:In-Reply-To:1': 0.24; 'header:User- Agent:1': 0.26; 'command': 0.26; 'module.': 0.27; 'larry': 0.29; 'seconds': 0.31; 'message-id:@gmail.com': 0.34; 'file': 0.34; 'dir': 0.35; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'say': 0.37; 'received:org': 0.37; 'does': 0.39; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'subject:with': 0.40; 'skip:u 10': 0.61; 'charset:windows-1252': 0.62; 'minutes': 0.64 X-Virus-Scanned: amavisd-new at torriefamily.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:104079 On 03/04/2016 05:18 AM, Larry Martell wrote: > Unfortunately very slow - around 8 minutes to zip a 7GB dir using the > command line zip vs. 13 seconds with the python zipfile module. And likely Python's zipfile is just giving up and storing the file without compression. What does unzip -v say about the compression on the zip file you made with zipfile.