Skip to content

xtnsis odd behavior (could be user error) #61

Closed Answered by jhhcs
utkonos asked this question in Q&A
Discussion options

You must be logged in to vote

When you run

emit 1.exe | xtnsis

without anything to follow it up, xtnsis will simply extract all the files in the archive and write them to STDOUT, separated by newlines. This is a good default for units that produce text, but with an archive extraction tool like xtnsis you likely want to proceed differently.

You might want to first run:

emit 1.exe | xtnsis -l

which will show you a list of the files that can be extracted. Then, assuming you want to dump all of these files to disk, you can run the following command:

emit 1.exe | xtnsis [| dump extracted/{path} ]

which will write all the files that were previously listed to a subdirectory called extracted. If you do not want to dump all…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by utkonos
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@huettenhain
Comment options

@huettenhain
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants