Releases: golift/xtractr
No Chmod
No ISO recursion, 7ip Volumes
- Prevents ISO recursion by default.
- Adds 7zip Volumes output, added recently by upstream.
Bug fixes and better 7zip support
This is mostly bug fixes and better 7zip support. Not much more to it. There will be more bugs and more releases. :)
Bug Fix
Minor bug fix with the response data.
Suffixless
This release removes the suffix from extractions that go to a custom path.
Sub folder tracking
The module now properly tracks sub folders and puts items into sub folders, matching where they extracted from. Extracted items now move back to the folder where the archives were, even in sub folders. I consider this a bug, and this is the fix. With that fix comes an interface change. Instead of a []string
of files, you get map[string][]string
of files. This map represents a list of archives per folder.
Multiple password support is also added. Keep in mind, at least some, if not most of a RAR archive must to be read before we know if it has the wrong password. Providing a lot of password may slow things down.
No Log File
Adds new flag to turn off extraction log file. Lint cleanup.
RAR Bug Fix
Small bug fix in rar file detection.
Add 7zip support
This release adds support for 7zip files. Using https://github.com/saracen/go7z
Extraction Ordering
The main purpose of this release is to change the order in which files are extracted. Previous versions of this library extracted one file at a time and then checked the extracted contents for more things to extract; then extracts them.
This releases changes that behavior so all first-level files are extracted into the same place and then the extracted contents are checked for extractable files. This solves the situation where a multi-file RAR archives lives inside of a bunch of zip files.
This release also makes Stop()
block and wait for extractions to finish. The Config
input was also removed (unexported) from the Xtractr
struct.