以下是我试图从AppEngine下载源代码时执行的代码:
/Users/sridhar/Desktop/backupdata/appengine-java-sdk-1.7.4/bin/appcfg.sh download_app -A maharasims2 -V 23 download_app .
我收到错误格式错误:
Bad argument: Expected download directory as an argument after download_app.
AppCfg [options] -A app_id [ -V version ] download_app <out-dir>
Download a previously-uploaded app to the specified directory. The app
ID is specified by the "-A" option. The optional version is specified
by the "-V" option.
任何人都可以帮助我吗?
我尝试了以下内容并且有效。
第1步: jdk / bin / appcfg.sh -A&lt; apppid&gt; -V&lt;版本&gt; download_app&lt;目录&gt;
示例:
/Users/Desktop/appengine-java-sdk-1.7.4/bin/appcfg.sh -A testapp -V 23 download_app~ / Desktop / backupdata / downloads /
注意: 如果遇到以下错误,请使用步骤2:
“java.security.InvalidAlgorithmParameterException:trustAnchors参数必须为非空”
答案 0 :(得分:2)
选项应该在命令之前:
appcfg.sh -A maharasims2 -V 23 download_app .