【发布时间】:2012-02-20 09:29:27
【问题描述】:
我在使用 curl 时遇到问题。我想用 curl 替换
wget -O file
或
wget --output-document=file
我已经搜索了联机帮助页和谷歌,但没有找到合适的替代品。 或者有人知道如何在 curl 中定义目标文件
感谢您的帮助。
【问题讨论】:
我在使用 curl 时遇到问题。我想用 curl 替换
wget -O file
或
wget --output-document=file
我已经搜索了联机帮助页和谷歌,但没有找到合适的替代品。 或者有人知道如何在 curl 中定义目标文件
感谢您的帮助。
【问题讨论】:
简单,简单。
curl http://google.com >output.html
或
curl -o output.html http://google.com/
(而且我确信阅读 curl --help 会比在 SO 上准备 Q 所花费的时间更少。)
【讨论】: