我的目的是:下載并另存一個(gè)全新的文件名;
如以下:
wget http://icons.iconarchive.com/icons/benjigarner/glassy-software/256/Azureus-icon.png -o icon.png
但是我卻得到兩個(gè)文件名:Azureus-icon.png 與 icon.png;
我的需求是只是希望得到一個(gè)全新的文件 icon.png。
擁有18年軟件開發(fā)和IT教學(xué)經(jīng)驗(yàn)。曾任多家上市公司技術(shù)總監(jiān)、架構(gòu)師、項(xiàng)目經(jīng)理、高級軟件工程師等職務(wù)。 網(wǎng)絡(luò)人氣名人講師,...
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.
It seems to be -O, capital O, not sure, you try it, I can’t help you try it under windows now