在Linux中,使用wget命令下載文件時,可以通過添加-O或--output-document選項來指定輸出文件名
wget
-O
--output-document
wget -O output_filename http://example.com/file_to_download
在這個例子中,將下載http://example.com/file_to_download,并將其保存為output_filename。如果指定的文件名已經存在,wget將會覆蓋它。
http://example.com/file_to_download
output_filename