Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. Unzip multiple files using wildcards:
- To unzip multiple ZIP files in the same folder using a wildcard:
- ---------------------------
- unzip \*.zip
- ---------------------------
- 2. Unzip a file to a specific directory:
- To extract the contents of a ZIP file to a different directory, use the -d option followed by the path to the destination directory:
- Code
- unzip filename.zip -d /path/to/destination/directory
- Example:
- To unzip myarchive.zip into the /home/user/documents folder:
- Code
- ----------------------------------------------------
- unzip myarchive.zip -d /home/user/documents
- ----------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment