4

wget "http://flakejfl2ke3jrlwkefj38j2ofiwejfoifjalsdkfje3fklwje.exe" is long.

How do I save it as my own name?

9
wget http://longname -O short_name
  • Unfortunately this doesn't retain the default behavior of renaming conflicts – Sridhar Sarnobat Aug 22 '17 at 2:57
8

In the spirit of teaching a man to fish:

man wget
  • amen...or just google wget – Aaron Brown Oct 9 '09 at 14:39
  • .... which brings me to this page. – Walrus the Cat Apr 23 '16 at 18:02
5

Use the -O option:

wget -O myfile.html http://www.google.com/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.