Code Monkey home page Code Monkey logo

Comments (11)

redguardtoo avatar redguardtoo commented on July 3, 2024

yes, tar --version and the os you are using.

from elpa-mirror.

houzy avatar houzy commented on July 3, 2024

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.

redguardtoo avatar redguardtoo commented on July 3, 2024

echo hello > hello.txt; COPYFILE_DISABLE="" tar cf hello.tar --exclude=*.elc --exclude=*~ hello.txt, what's the output?

from elpa-mirror.

houzy avatar houzy commented on July 3, 2024

看上去是正常的,没有报错:
2014-08-12 08 51 05

from elpa-mirror.

redguardtoo avatar redguardtoo commented on July 3, 2024

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.

houzy avatar houzy commented on July 3, 2024

您好,我将
--exclude=.elc --exclude=~ "
改为
--exclude=*.elc --exclude=*~ "
没有任何变化。还是没有tar文件。

from elpa-mirror.

houzy avatar houzy commented on July 3, 2024

我找到问题了,也解决了。
zsh处理通配符和bash不太一样。
所以*.elc和*两边需要用引号引起来就可以了。
就是:
--exclude="*.elc" --exclude="*
"
库导出正常了,测试导出的离线库也是正常可用的。
非常感谢。

from elpa-mirror.

redguardtoo avatar redguardtoo commented on July 3, 2024

got, thanks, I will update my code, I will notify you when the new version is ready.

from elpa-mirror.

houzy avatar houzy commented on July 3, 2024

我仔细看了一下我最后的表述,有一点失误,两边加上引号就可以,不需要在里面对星号再转义了:
--exclude="*.elc" --exclude="*"(表述失误)
--exclude=".elc" --exclude="
"(正确)

from elpa-mirror.

redguardtoo avatar redguardtoo commented on July 3, 2024

got, thanks

from elpa-mirror.

redguardtoo avatar redguardtoo commented on July 3, 2024

e52f30b compatible with zsh shell (Chen Bin)

from elpa-mirror.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.