-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extractions can be piped by adding the command arguments --all or --until. If --all is provided, the extractor will keep extracting until it reaches a format that it cannot handle. If --until is provided, the extractor will keep extracting until it reaches the extension specified by this parameter, or until it reaches a format it cannot handle. Example. src: dir/Test.jar.pack.xz dest: dir/output /ze extract --all will extract all the jar contents into output. /ze extract --until will extract Test.jar into output. /ze extract will extract Test.jar.pack into output (non piped). If the piped operation contains a format which cannot be scanned ahead of time, the destination directory must be empty. If it is not, the operation will be cancelled, even if --override is passed. An example of this is the ZIP format. We cannot scan for extractions without first having the source file in the ZIP format. The scan involed checking each ZIP entry, which we do not have access to until the file is in ZIP format. This is the same for JAR and RAR.
- Loading branch information
Showing
12 changed files
with
345 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
b0421f0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a typo in the commit message. It should say
/ze extract --until jar will extract Test.jar into output.