Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #45229 > unrolled thread
| Started by | zcbenz@gmail.com |
|---|---|
| First post | 2013-05-13 01:21 -0700 |
| Last post | 2013-05-13 01:21 -0700 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
How to make shutil.make_archive support symbol links? zcbenz@gmail.com - 2013-05-13 01:21 -0700
| From | zcbenz@gmail.com |
|---|---|
| Date | 2013-05-13 01:21 -0700 |
| Subject | How to make shutil.make_archive support symbol links? |
| Message-ID | <e87c2b90-5bc1-471a-8d26-8dbb7cf38722@googlegroups.com> |
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 top | Article view | comp.lang.python
csiph-web