zip 实用命令

zip -r archive.zip directory -x "*/\.*"
打包子目录,并忽略其中的所有隐藏文件,比如 .DS_Store 、.git
zip -r archivename.zip directorytozip -x "*.*"
打包目录并忽略其中的隐藏文件。
继续阅读 zip 实用命令
Do things like hackers and try to make the world a better place
zip -r archive.zip directory -x "*/\.*"
打包子目录,并忽略其中的所有隐藏文件,比如 .DS_Store 、.git
zip -r archivename.zip directorytozip -x "*.*"
打包目录并忽略其中的隐藏文件。
继续阅读 zip 实用命令