Commit graph

7 commits

Author SHA1 Message Date
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
2016-05-26 23:09:35 -04:00
Ben Doherty
f482cb4790 Add license 2016-05-26 21:41:40 -04:00
Ben Doherty
ecd60f4839 Add compressed file source to successes when succeeds! 2016-05-26 21:38:36 -04:00
Ben Doherty
9cde150bd1 Add RETURN documentation 2016-05-26 21:38:31 -04:00
Ben Doherty
e9b85326a6 Fix write mode for ZipFiles ('wb' is invalid!) 2016-05-26 21:33:27 -04:00
Ben Doherty
431d8c9a8f Drop extra double-quote from documentation 2016-05-26 20:36:14 -04:00
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
2016-05-26 19:54:30 -04:00