Home
Sign Up
Sign In
›
Bash Reference Manual
V2EX
›
Bash
为什么 zip 压缩忽略文件使用 zip a.zip a -x '\*.git\*'而不是 -x '.git'
sunjourney
·
Oct 14, 2015
· 3655 views
This topic created in 4049 days ago, the information mentioned may be changed or developed.
指定忽略.git 不需要通配呀
git
zip
忽略
压缩
2 replies
•
2015-10-14 18:44:51 +08:00
abelyao
Oct 14, 2015
1
.git 是一个文件夹,你还需要忽略该文件夹中的文件;
另外 .git 有可能是在子目录中,所以前面还需要通配;
sunjourney
OP
Oct 14, 2015 via iPhone
2
@
abelyao
感谢^ω^!
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
1769 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 20ms ·
UTC 05:29
·
PVG 13:29
·
LAX 21:29
·
JFK 00:29
♥ Do have faith in what you're doing.
❯