New answers tagged zip
In zsh, you can do the following: unzip =( curl http://example.com/someZipFile.zip )
I actually needed something a little more complex - extract a specific file if it exists. The difficulty being, the input file stream may not be a zip file, and in which case, I needed it to continue through the pipe. Here is my solution (thanks mostly to Jason R. Coombs solution) python -c "import zipfile,sys,StringIO data=sys.stdin.read() try: ...
Top 50 recent answers are included