I am downloading a file using the wget command. But when it downloads to my local machine, I want it to be saved as a different filename.
wget
For example: I
You would use the command Mechanical snail listed. Notice the uppercase O. Full command line to use could be:
wget www.examplesite.com/textfile.txt --output-document=newfile.txt
or
wget www.examplesite.com/textfile.txt -O newfile.txt
Hope that helps.