Commit Graph

11 Commits

Author SHA1 Message Date
Eugen Blattner 3da67271b9 fix: use inflating binaries instead of deflating in unarchive function 2022-04-01 13:22:48 -07:00
Poscat 4de0377106 Add support for zstd compressed tarballs to module 'archive' 2021-04-29 21:20:25 -07:00
Maxim Baz 5d7c990eec archive: enhance parallel operations 2019-02-18 21:40:25 -08:00
Nicola Corna 9520f1be6f archive: fix unrar-free and add support for unar (#1383)
* archive: fix unrar check when using unrar-free

unrar-free returns the error code 1 when run without arguments, thus
failing the presence check. Replacing the current presence check with
(( $+commands[unrar] )) fixes the problem.

* archive: add unar support for lsarchive and unarchive

No `archive` support with unar.
2017-09-18 16:27:31 -07:00
Kaleb Elwert 7d5beeab51 Add comments into each of the function files to make them easier to find 2017-07-06 16:13:36 -07:00
Khai Do 7242b4ed49 archive: add support for *.jar files (#1302) 2017-04-17 22:04:28 -07:00
Zach Riggle 7227c4f0be Fix unarchive for .deb which uses xz, and absolute paths 2015-11-12 12:01:37 -05:00
Ivan Alejandro 86ba5b69d3 Ignore case in filenames
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-10-10 18:55:26 -04:00
Sorin Ionescu a84ac5b002 Only one newline at end of file 2014-10-09 23:38:15 -04:00
lucy 3e8349ddde Use the `x` command for unrar and rar to preserve paths
unrar and rar will discard everything up to the file name when extracting
with `e`. This breaks extraction of archives that have files with duplicate
file names and ones where the paths are important. The `x` command
extracts with the full path instead.
2014-10-05 21:14:01 -04:00
Sorin Ionescu 16aa48baeb Rename archive module functions 2013-05-25 14:42:43 -04:00