how to download in the bash shell
how do you download from a site while running the bash shell? can you do http or only ftp?
|
Try 'man wget'. Just use the entire URL of the file you want to download and wget will download it for. It can even resume downloads if the server supports it. And it supports both http and ftp.
|
use 'wget'
wget http://www.yoursite.com/files/fileiwant.doc wget ftp://user@ftp.idsoftware.com/pub/quake2/*.tar.gz that will download whatever you request into the current directory |
wget can be used (from within a script), there are probably other possibilities, but this came to mind first.
See man wget for details Hope this helps. |
thanks guys, it worked
|
Mirror an entire site with it if you wish.
wget -m <site url> |
All times are GMT -5. The time now is 01:43 AM. |