Comments (11)
yes, tar --version
and the os you are using.
from elpa-mirror.
tar (GNU tar) 1.27.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
这是自由软件:您可以自由地更改并重新发布它。
在法律所允许的范围内不含任何担保。
由 John Gilmore 和 Jay Fenlason 所写。
os:ubuntu 14.04
zsh:zsh 5.0.2 (x86_64-pc-linux-gnu)
from elpa-mirror.
echo hello > hello.txt; COPYFILE_DISABLE="" tar cf hello.tar --exclude=*.elc --exclude=*~ hello.txt
, what's the output?
from elpa-mirror.
from elpa-mirror.
maybe it's zsh problem, looks it eat the * character, find elpa-mirror.el in ~/.emacs.d/site-lisp/, replace *
with \*
, restart emacs and re-test
from elpa-mirror.
您好,我将
--exclude=.elc --exclude=~ "
改为
--exclude=*.elc --exclude=*~ "
没有任何变化。还是没有tar文件。
from elpa-mirror.
我找到问题了,也解决了。
zsh处理通配符和bash不太一样。
所以*.elc和*两边需要用引号引起来就可以了。"
就是:
--exclude="*.elc" --exclude="*
库导出正常了,测试导出的离线库也是正常可用的。
非常感谢。
from elpa-mirror.
got, thanks, I will update my code, I will notify you when the new version is ready.
from elpa-mirror.
我仔细看了一下我最后的表述,有一点失误,两边加上引号就可以,不需要在里面对星号再转义了:
--exclude="*.elc" --exclude="*"(表述失误)"(正确)
--exclude=".elc" --exclude="
from elpa-mirror.
got, thanks
from elpa-mirror.
e52f30b compatible with zsh shell (Chen Bin)
from elpa-mirror.
Related Issues (20)
- Error when creating mirror HOT 3
- 不能在windows下使用,使用原生windows emacs,已经安装cygwin,并把cygwin/bin加入$PATH HOT 2
- not working for doom-emacs develop branch HOT 16
- missing org packages HOT 1
- wrong BEGIN_SRC block in README.org HOT 1
- PAXHeader cause the package installation failed HOT 3
- per package ignores is maybe needed HOT 5
- No tar files created HOT 9
- Not work on win10 HOT 3
- Creating TAR Error HOT 9
- Creating pipe Too many open files on windows 10 HOT 5
- tar: unrecognized option '--sort=name' HOT 1
- Directory name format recognition problem HOT 4
- /usr/bin/tar: root\:0: Invalid owner HOT 1
- Mirror not Showing up in Emacs under Archives HOT 4
- vagrant-tramp package produces a broken mirror. HOT 3
- windows7下执行elpamr-create-mirror-for-installed命令后,只是在myelpa文件生成了archive-contents文件,没有包的tar文件, HOT 1
- [feature request] straight.el support, please HOT 2
- Is there a way to update the mirror without updating the Emacs installation it's based on? HOT 1
- M-x package-install error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elpa-mirror.