Skip to content

curl

-O 下载文件 保存的文件名与URL相同 -o 下载文件 保存的文件名为指定的文件名

bash
curl -o filename http://example.com/file.txt