unzip command
Last updated
Last updated
Extracts a ZIP file
If you wanted to extract the contents of a ZIP file, you can use this command to gain access to the compressed files stored inside it.
Switches | Description |
---|---|
unzip <zipfile> [path] [-createdir]
unzip "Operating systems.zip"
: Extracts the contents of "Operating systems.zip" to the current working directory
unzip Mountains.zip -createdir
: Extracts the contents of Mountains.zip to a directory called Mountains in the current working directory
-createdir
Extracts the archive to the new directory that has the same name as the archive