Home Learn Linux Linux Answers Audio/Video I was wondering how do I tell wget where to save a file?
  • I think that the only way to tell wget where to download a file is to change thee directory to where you want the file to be downloaded, but I might be wrong.
    Hope this answers your question

    Answered by Mrx3000
    6 years ago
    1 0
  • `wget -P target_dir URL`

    wget -P junk

    will deposit index.html form into the subdirectory "junk"

    Answered by werneta
    6 years ago
    0 1
  • wget -P target_dir URL

    Get in the habit of reading man pages :)

    $ man wget

    Answered by kunal
    6 years ago
    1 0
  • Thanks for the answers this help me a lot for the script that I am writing for my server.

    Answered by ShaneH57
    6 years ago
    0 0
Please register/login to answer this question. Click here to login
Similar Questions Found
Questions from category Audio/Video

Community Answers - Search

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Linux Training / Board

/** BC-056 Ameex changes to add tracking code - 2016-01-22 **/ ?>