101 reputation
2
bio website stankurdziel.com
location San Diego, CA
age 37
visits member for 1 year, 6 months
seen Jul 18 '13 at 21:07

Agile Java / Android developer


Jul
18
comment Unzipping files that are flying in through a pipe
This seemed like it should be doable, but it looks like it's only possible to extract a zip and pipe the file to another command if the zip contains only a single file. I wanted to extract a specific file from a multi-file zip. Instead of piping, I switched to chaining multiple commands 'unzip file.zip /path/file && dostuff /path/file && rm -rf /path' While not answering the original question, and resulting in temporary files being created, it satisfied my need.