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


Groups > comp.lang.python > #45229

How to make shutil.make_archive support symbol links?

Newsgroups comp.lang.python
Date 2013-05-13 01:21 -0700
Message-ID <e87c2b90-5bc1-471a-8d26-8dbb7cf38722@googlegroups.com> (permalink)
Subject How to make shutil.make_archive support symbol links?
From zcbenz@gmail.com

Show all headers | View raw


Hi comp.lang.python group,

I'm trying to make a zip archive with shutil.make_archive, but it seems that it doesn't support symbol links, after creating a archive with shutil.make_archive, all the symbol links would be lost.

What I want is something like `zip -y`, which "stores symbolic links as the link instead of the referenced file", is it possible to do in pure python? I also looked into the zipfile module, but it mentions no symbol links.

Thanks.

Cheng

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


Thread

How to make shutil.make_archive support symbol links? zcbenz@gmail.com - 2013-05-13 01:21 -0700

csiph-web