Commit Graph

124 Commits

Author SHA1 Message Date
Bastian Kleineidam 45a5f7e841 Support extraction of BZIP2 files with the Python bz2 module. 2012-05-11 22:08:00 +02:00
Bastian Kleineidam 6882f93b49 Optimize program configuration and fix archive argument checking. 2012-05-11 21:16:29 +02:00
Bastian Kleineidam 3bd8441fa5 Add more archive argument checks and refactor. 2012-05-11 21:04:22 +02:00
Bastian Kleineidam 26727ee20a Also compare filenames. 2012-05-11 21:04:02 +02:00
Bastian Kleineidam a690ba28f8 Make sure all temporary directories are removed on errors. 2012-05-11 20:19:29 +02:00
Bastian Kleineidam 8d8da1fecf Add tests for smae file check. 2012-05-11 20:16:24 +02:00
Bastian Kleineidam 96be0020ea Add more checks. 2012-05-11 20:07:50 +02:00
Bastian Kleineidam 2bfa5e2a6c Make function argument more clear. 2012-05-11 19:33:42 +02:00
Bastian Kleineidam 7fa1151269 Assert list of files to archive is non-empty. 2012-05-11 19:33:12 +02:00
Bastian Kleineidam e28f3ab115 Log abort message as error instead of info. 2012-05-11 19:32:16 +02:00
Bastian Kleineidam b51aff6182 Log infos to stdout instead of stderr. 2012-05-11 19:32:00 +02:00
Bastian Kleineidam 6917ab17bb Support plzip. 2012-05-11 07:14:49 +02:00
Bastian Kleineidam 1cb76a9633 Support plbzip2. 2012-05-11 07:08:50 +02:00
Bastian Kleineidam 0910281d20 Fix syntax. 2012-04-09 12:29:05 +02:00
Bastian Kleineidam b9e60da545 Allow verbose option in diff and repack commands. 2012-04-09 12:26:54 +02:00
Bastian Kleineidam 8987927edb Added convenience library functions for handling archives. 2012-04-09 12:23:02 +02:00
Bastian Kleineidam 47c43a57b1 Updated copyright. 2012-04-08 18:54:37 +02:00
Bastian Kleineidam 021626aa82 Added support for the pigz program handling GZIP archives. 2012-04-06 12:59:52 +02:00
Bastian Kleineidam 6699e833b4 Add help function and check always the keyword arguments. 2012-02-12 09:17:07 +01:00
Bastian Kleineidam 8205f7f8b7 Don't use the -r rar option. 2011-12-27 17:48:10 +01:00
Bastian Kleineidam abc807e956 Add crx mime-type; ignore non-supported extensions in file(1) mime type guessing; code cleanup 2011-10-19 09:12:01 +02:00
Bastian Kleineidam ed41abb47b Add listing support for xz 2011-10-19 09:11:08 +02:00
Bastian Kleineidam ba6d138615 Xz supports all archive commands. 2011-10-19 09:10:17 +02:00
Bastian Kleineidam 14641f8ea3 Updated copyright. 2011-01-25 06:57:30 -06:00
Bastian Kleineidam e48b95f9f1 Support DMS (.dms) files. 2011-01-24 14:28:29 -06:00
Bastian Kleineidam 80916bc335 Added support for the orange CAB extracting program. 2011-01-24 12:24:34 -06:00
Bastian Kleineidam 55f3716eb6 Fall back to file extension detection for MIME type when the uncompressor file(1) uses for compressed TAR archives is not installed. 2011-01-23 09:30:11 -06:00
Bastian Kleineidam d39e1c6750 Support ZIP (.zip) file creation with 7z. 2011-01-17 13:38:53 -06:00
Bastian Kleineidam 296283bf9e Added support for pdlzip. 2011-01-17 13:27:54 -06:00
Bastian Kleineidam 85f592b8ea Added support for clzip. 2011-01-17 13:11:02 -06:00
Bastian Kleineidam e0a661d7ae Added MIME type detected on Debian platform for cpio archives. 2011-01-17 12:39:21 -06:00
Bastian Kleineidam b11339bd2f Fix command argument order when extracting cpio archives. 2011-01-17 12:37:10 -06:00
Bastian Kleineidam fbdf2e12e8 When running shell commands, join the command string in the utility function. 2010-12-15 20:40:25 +01:00
Bastian Kleineidam f0895c7ffc Added alternative ZIP mime type 2010-11-20 14:08:01 +01:00
Bastian Kleineidam 9cfc1b1e61 Remove duplicate code. 2010-11-15 21:29:51 +01:00
Bastian Kleineidam 0d7a90e0f0 Improved command execution logging. 2010-11-15 21:29:19 +01:00
Bastian Kleineidam 79493755c5 Use util.log_info to print extraction info message. 2010-11-10 19:50:59 +01:00
Bastian Kleineidam 895197e120 Fix rar extraction unpack directory. 2010-11-10 19:50:19 +01:00
Bastian Kleineidam 338e0daaa8 Use existing shell_quote function. 2010-11-10 19:49:08 +01:00
Bastian Kleineidam dc7a1a033c Show commands that are run. 2010-11-10 19:34:25 +01:00
Bastian Kleineidam 7f33a0f604 Improved error message wording. 2010-10-04 19:21:33 +02:00
Bastian Kleineidam 09c59ab3f0 Added support for the standalone 7za archiver in addition to 7z. 2010-10-04 19:21:01 +02:00
Bastian Kleineidam a1c9ced204 Use common functions for standard operations on singlefile archives. 2010-04-05 13:55:23 +02:00
Bastian Kleineidam 3c67f6a6a0 Remove unused variables; add missing docstrings. 2010-04-05 09:37:54 +02:00
Bastian Kleineidam 97901d89d9 Correct argument quoting for Windows platforms. 2010-04-05 08:46:09 +02:00
Bastian Kleineidam faa19bd74e Raise PatoolError on rmtree() errors. 2010-04-05 02:56:59 +02:00
Bastian Kleineidam e4010ded03 Fixed argument order for error message. 2010-04-05 02:47:42 +02:00
Bastian Kleineidam 14d591194e Use error function with correct number of arguments for rmtree() 2010-04-05 02:39:40 +02:00
Bastian Kleineidam b8d2d81d00 Really fix shell quoting, quoting single quotes correctly. 2010-04-04 20:29:14 +02:00
Bastian Kleineidam 8cbef81a50 Only quote commandline arguments that need quoting. 2010-04-04 19:12:24 +02:00