我的目的是:下载并另存一个全新的文件名;
如以下:
wget http://icons.iconarchive.com/icons/benjigarner/glassy-software/256/Azureus-icon.png -o icon.png
但是我却得到两个文件名:Azureus-icon.png 与 icon.png;
我的需求是只是希望得到一个全新的文件 icon.png。
伊谢尔伦2017-04-24 09:10:58
Just put it-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
:
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.
阿神2017-04-24 09:10:58
It seems to be -O, capital O, not sure, you try it, I can’t help you try it under windows now