wget command to download a file and save as a different filename -
i downloading file using wget
command. when downloads local machine, want saved different filename.
for example: downloading file www.examplesite.com/textfile.txt
i want use wget
save file textfile.txt
on local directory newfile.txt
. using wget
command follows:
wget www.examplesite.com/textfile.txt
use -o file
option.
e.g.
wget google.com ... 16:07:52 (538.47 mb/s) - `index.html' saved [10728]
vs.
wget -o foo.html google.com ... 16:08:00 (1.57 mb/s) - `foo.html' saved [10728]
Comments
Post a Comment