我使用curl时遇到问题.我希望有一个curl的替代品
wget -O file
Run Code Online (Sandbox Code Playgroud)
要么
wget --output-document=file
Run Code Online (Sandbox Code Playgroud)
我已经搜索了联机帮助页和谷歌,但没有找到合适的替代品.或者有人知道如何在curl中定义targetfiles
谢谢你的帮助.
简单,简单.
curl http://google.com >output.html
Run Code Online (Sandbox Code Playgroud)
要么
curl -o output.html http://google.com/
Run Code Online (Sandbox Code Playgroud)
(而且我确信阅读curl --help比花在SO上的时间要少.)