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


Groups > comp.lang.python > #104031

Re: creating zipfile with symlinks

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Subject Re: creating zipfile with symlinks
Date Fri, 4 Mar 2016 23:36:42 +1100
Lines 9
Message-ID <mailman.187.1457095005.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=UTF-8
X-Trace news.uni-berlin.de NuAb6h/J0ndBM0JSTKyR6AQoOsElPDSEG3fYzZfw5hpw==
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.060
X-Spam-Evidence '*H*': 0.88; '*S*': 0.00; 'cc:addr:python-list': 0.09; 'python': 0.10; '2016': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'zipfile': 0.16; 'wrote:': 0.16; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'header:In-Reply- To:1': 0.24; 'command': 0.26; 'fri,': 0.27; 'message- id:@mail.gmail.com': 0.27; 'module.': 0.27; 'larry': 0.29; 'seconds': 0.31; 'doubt': 0.33; 'quickly': 0.34; 'received:google.com': 0.35; 'dir': 0.35; 'received:209.85': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:209.85.213': 0.37; 'doing': 0.38; 'received:209': 0.38; 'wrong': 0.38; 'data': 0.39; 'system.': 0.39; 'subject:with': 0.40; 'skip:u 10': 0.61; 'is.': 0.63; 'minutes': 0.64; 'mar': 0.65; 'sounds': 0.76; 'chrisa': 0.84; 'to:none': 0.91
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:cc; bh=msVmIzngKd19jcH6Bwgj6rWetBEj3L7mWogcBtCs/XI=; b=lMizjkDjhEwF3xTXK2fFi6aTQy+2nVxMqg1CL10eE7ZjtuEtMJORSuTT+TweW4Hz8M fYnycomc2xCQ6lAStnROHCaXnyBAn8CgDPwmC02P4oxbj5NRMbvD/09jXr1Q9M3u1FbV HmryTRohUFqATuXOEhC5Scd3HHSZLuxD1S3CJQKxsVnDMBoMNq7eSBDUqSzFst9//ZZ9 2Y756SaMj2n5hwaw9W8EJku8/EyAwjNrSaR5WJWH0BP3v1U+utGTNRYyzenb2BV+yU9z Pr2/zDmX5FKmEw6/zftfZUexhx2jEM35bCpmbZv8n35R/22GMaV0Nm/gXBPJisy7fylv 42OQ==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:cc; bh=msVmIzngKd19jcH6Bwgj6rWetBEj3L7mWogcBtCs/XI=; b=bKnOGqsNLI+14lVCIhrceqtF1gSFZ+e9RhxYiaa87gxydqYQW6HzlMtwAVTcXD4Jwh z+IEoFw0uZKpEpZhCCk+QwaJZ49d5eMlp6+Oy741vrq2uUiqqXps9pTvaKxBJT6KuXEA czTv4zf8dP4N77ZATLWOBVybKSaVXlQ8t5taE7KNiXzHfKhHRwiz18M5c5SaFjgrWwA0 6RnJmv33oMw0H+klN9ecpS4ig0h+ePlNziuoW7Xi+o4ZBhkUOTleNadEPWHvjUNkm++t qaukLcPaUH7ThnXlfjD6VzZhKqeK8ajPCNKVU7Gsb/4Vg31WcARl2M2uff/4K3DkK+47 Z/gw==
X-Gm-Message-State AD7BkJKQ+0fsJR34Qa+9+4pwjbkCM7oIky8YrAXbMkovaog+EUSLMoREHspvLEPX++YgpFBA6Vi0yGooEGiERw==
X-Received by 10.50.28.105 with SMTP id a9mr3504064igh.94.1457095002182; Fri, 04 Mar 2016 04:36:42 -0800 (PST)
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:104031

Show key headers only | View raw


On Fri, Mar 4, 2016 at 11:18 PM, Larry Martell <larry.martell@gmail.com> 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.

13 seconds? That sounds wrong for 7GB. I doubt you can deflate that
much data that quickly on any modern system. Check if it's actually
doing what you think it is.

ChrisA

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


Thread

Re: creating zipfile with symlinks Chris Angelico <rosuav@gmail.com> - 2016-03-04 23:36 +1100

csiph-web