archive files or update files in an archive file:
zip zipfile file1 file2 ...
extract a file in an archive file:
unzip zipfile fileToExtract
eg. unzip wmserver lib/patch/manifest.jar
list files in an archive file:
unzip -l zipfile
recursively archive a directory:
zip -r zipfile directoryToArchive
unzip a archive file to another directory
unzip zipfile -d newDirectory
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7636787/viewspace-753232/
,如需转载,请注明出处,否则将追究法律责任。