unzip | Cheatsheet¶
Extract files to standard output, no messages¶
List files (short format)¶
Freshen existing files, create none¶
Test compressed archive data¶
Update files, create if necessary¶
Display archive comment only¶
List verbosely/show version info¶
Exclude files that follow (in xlist)¶
Extract files into a specific directory¶
Never overwrite existing files¶
Quiet mode¶
Overwrite files WITHOUT prompting¶
Junk paths (do not make directories)¶
Match filenames case-insensitively¶
Restore UID/GID info¶
Keep setuid/setgid/tacky permissions¶
Examples¶
Extract all files except 'joe' from zipfile 'data1.zip'