Commit Graph

13 Commits (ef620c7de3d59a905f980049593518a9d65e137e)

Author SHA1 Message Date
Benjamin Doherty ef620c7de3 Add 'default' to docs for 'compression' option 10 years ago
Ben Doherty 6e0aac888b Documentation updates 10 years ago
Ben Doherty 20bfb1339d Use different syntax in lambda 10 years ago
Ben Doherty ae35ce5641 Make remove default to false. It's less frightening. 10 years ago
Ben Doherty 6db9cafdec Don't use <x> if <y> else <z> syntax 10 years ago
Ben Doherty d3e041d1a2 Accept 'path' as a list argument, expose path and expanded_path,
Use correct variable in expanduser
10 years ago
Ben Doherty cca70b7c91 Fix up for zip files and nesting logic.
* Don't include the archive in the archive if it falls within an archived path
* If remove=True and the archive would be in an archived path, fail.
* Fix single-file zip file compression
* Add more documentation about 'state' return
10 years ago
Ben Doherty f482cb4790 Add license 10 years ago
Ben Doherty ecd60f4839 Add compressed file source to successes when succeeds! 10 years ago
Ben Doherty 9cde150bd1 Add RETURN documentation 10 years ago
Ben Doherty e9b85326a6 Fix write mode for ZipFiles ('wb' is invalid!) 10 years ago
Ben Doherty 431d8c9a8f Drop extra double-quote from documentation 10 years ago
Ben Doherty cb4173957c Initial commit of extras/archive module.
This manages compressed files or archives of many compressed files. You can maintain or update .gz, .bz2 compressed files, .zip archives, or tarballs compressed with gzip or bzip2.

Possible use cases:

* Back up user home directories
* Ensure large text files are always compressed
* Archive trees for distribution
10 years ago