Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #104079

Re: creating zipfile with symlinks

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Michael Torrie <torriem@gmail.com>
Newsgroups comp.lang.python
Subject Re: creating zipfile with symlinks
Date Fri, 4 Mar 2016 21:45:28 -0700
Lines 7
Message-ID <mailman.216.1457153138.20602.python-list@python.org> (permalink)
References <CACwCsY5CFNVnTw=xpPJXXmYEH6Qb70yA+-XoJ+waFUdKDd6a8w@mail.gmail.com> <CACwCsY6cBfO4Wf1SebirMkKVCtm_KaK3vF9OPOfeDF5povscuQ@mail.gmail.com> <56D8AEBB.6060102@mrabarnett.plus.com> <CAPTjJmrDGfTMDdNGH1MWf6dnx--7A+nFHWpYLMp0+pdYmYE_kw@mail.gmail.com> <CACwCsY6CjDhQn6stT=HgWUT1cePYeYKX44i_K00dBstNhOJBEA@mail.gmail.com> <CACwCsY7KdZDE0qyGwjTa+Vg=f3CtpkGd777mZa+E17kOiDRUmA@mail.gmail.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 <torriem+gmail@torriefamily.org>
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 <CACwCsY7KdZDE0qyGwjTa+Vg=f3CtpkGd777mZa+E17kOiDRUmA@mail.gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.21
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:104079

Show key headers only | View raw


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.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: creating zipfile with symlinks Michael Torrie <torriem@gmail.com> - 2016-03-04 21:45 -0700

csiph-web