This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Steve Barnes, serhiy.storchaka
Date 2017-09-16.06:56:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1505544962.92.0.250264375836.issue31182@psf.upfronthosting.co.za>
In-reply-to
Content
The command-line interface of zipfile and tarfile modules was deliberately kept simple. If you need more complex functionality, just write a script. Python is a programming language!

> 1. Wildcard filename matching for archiving

This is a work for a shell. Interpreting wildcards by a program breaks compatibility and makes impossible to handle files containing special characters. For example it breaks:

    python3 -m zipfile -c myzip.zip "The Book [vol. 5].txt".

No way.

> 2. Recursive archiving (with excludes)

Archiving already is recursive. It may be worth to add an option for adding directories not recursively.

> 3. Append to archive option

May be. I don't know what to do with compressed tar archives.

> 4.1 For zipfile: zip64, bizp2 & lzma (if available)

Would be nice. And this option could force compression for tarfile.

As new features they can be added only in 3.7.
History
Date User Action Args
2017-09-16 06:56:02serhiy.storchakasetrecipients: + serhiy.storchaka, Steve Barnes
2017-09-16 06:56:02serhiy.storchakasetmessageid: <1505544962.92.0.250264375836.issue31182@psf.upfronthosting.co.za>
2017-09-16 06:56:02serhiy.storchakalinkissue31182 messages
2017-09-16 06:56:02serhiy.storchakacreate