我的目的是:下载并另存一个全新的文件名;如以下:
wget http://icons.iconarchive.com/icons/benjigarner/glassy-software/256/Azureus-icon.png -o icon.png
但是我却得到两个文件名:Azureus-icon.png 与 icon.png;我的需求是只是希望得到一个全新的文件 icon.png。
拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...
Just put it-o换成-O.
-o
-O
wget http://icons.iconarchive.com/icons/benjigarner/glassy-software/256/Azureus-icon.png -O icon.png
You can take a look at the description of man wget:
man wget
Capital O:
-O file --output-document=file The documents will not be written to the appropriate files, but all will be concatenated together and written to file.
lowercase o:
-o logfile --output-file=logfile Log all messages to logfile.
It seems to be -O, capital O, not sure, you try it, I can’t help you try it under windows now
Just put it
-o
换成-O
.You can take a look at the description of
man wget
:Capital O:
lowercase o:
It seems to be -O, capital O, not sure, you try it, I can’t help you try it under windows now