Last active
March 26, 2024 07:29
-
-
Save korakot/2741f8e93f6822531a9412c02d1ec8a8 to your computer and use it in GitHub Desktop.
Unzip a file in the current directory (-j ignore path info)
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
!unzip -j archive.zip path/to/file.txt | |
!unzip -j archive.zip path/to/file.txt -d /to/path/ | |
# download and unzip in one line, quietly | |
!wget -qO- http://host.com/file.zip | jar x | |
!curl -s http://host.com/file.zip | jar x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment