奇怪的tar的问题
很奇怪的问题,在用脚本打包rails project然后上传服务器,因为本机和服务器间的网速很慢,而git会生成很多以._开头的文件,为了让tar包小一点,要把这些文件去掉,用了这样一条命令
tar -zcvf abc.tar.gz — exclude abc/.git — exclude *._* abc
在Centos下work得很好,但是在我的Mac上._开头的文件仍然在tar包中,两边的tar的版本都是tar (GNU tar) 1.15.1,这是为什么呢?或者谁能告诉我在Mac下应该怎么做?
originally posted at medium.com/@xuwenhao/%E5%A5%87%E6%80%AA%E7%9A...
| NAV | NEXT ON THE BENCH | DATE | |
|---|---|---|---|
| PREV | 经济危机,物价大跌了? | 2009 | ← |
| NEXT | D-Link的信号果然不好 | 2009 | → |
THIS BOARD HAS BEEN TESTED.
IT RUNS.
Engineer wouldn't write that last line.
He'd just put the board on your desk and walk away.
So - that's what this is.
He'd just put the board on your desk and walk away.
So - that's what this is.
XUWENHAO.COM ◆ REV 4.7 ◆ MADE IN SHANGHAI ◆ 2026