我用“卷曲 - SO”命令,以从该项目GitHub的链接来下载项目文件: http://github.com/ziyaddin/xampp/archive/master.zip不能下载GitHub的项目,curl命令
但是,我无法下载。有错误发生,并说:
Archive: /home/ziyaddin/Desktop/master.zip
[/home/ziyaddin/Desktop/master.zip] End-of-central-directory
signature not found. Either this file is not a zipfile, or it
constitutes one disk of a multi-part archive. In the latter case
the central directory and zipfile comment will be found on the last
disk(s) of this archive. zipinfo: cannot find zipfile directory in
one of /home/ziyaddin/Desktop/master.zip or
/home/ziyaddin/Desktop/master.zip.zip, and cannot find
/home/ziyaddin/Desktop/master.zip.ZIP, period.
,但我可以下载使用curl命令此链接: http://cloud.github.com/downloads/pivotal/jasmine/jasmine-standalone-1.3.1.zip
我认为,这是因为它是在cloud.github.com。我想知道如何从curl命令的第一个链接下载?
工作正常!非常感谢! – 2013-04-28 10:49:00
我可以使用这个当前命令来保存目标文件夹中的文件吗?我必须写什么来保存在我写的目标文件夹中? – 2013-05-03 15:15:00
多好的答案。 – 2015-11-19 01:59:04