在Linux中,使用wget
命令下载文件时,可以通过添加-O
或--output-document
选项来指定输出文件名
wget -O output_filename http://example.com/file_to_download
在这个例子中,将下载http://example.com/file_to_download
,并将其保存为output_filename
。如果指定的文件名已经存在,wget
将会覆盖它。
亿速云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>
推荐阅读:bat怎么删除指定文件名的文件