PDA

View Full Version : [all variants] wget question



DBrocks
May 21st, 2008, 02:26 AM
Hey guys. I'm trying to download music off a server. the problem is, there are several songs, and downloading them individually would be a pain in the butt. I tried


wget http://site.com/*.mp3 and it didin't work. Is there a way to get all of a certain file type off a site? btw, I am running Ubuntu SE, so command line only. thanks!

~Dan

peitschie
May 21st, 2008, 02:29 AM
Update: My initial posting was incorrect... it is indeed possible

Nope. wget (and all other utilities similar to this) can only get a specific url. Though I understand you only have a command-line on that computer, if you have access to a browser somewhere you might try this firefox plugin: DownThemAll - https://addons.mozilla.org/en-US/firefox/addon/201

Monicker
May 21st, 2008, 02:32 AM
Actually, you can make wget retrieve all of files it finds with a certain extension. I do have reservations about the link in question though, so will not give any details about to accomplish it in this case.

iaculallad
May 21st, 2008, 02:38 AM
Try relating wget on this page (http://www.linux.com/articles/59457). Maybe, you could get an idea on how to solve your problem.

Thirtysixway
May 21st, 2008, 02:38 AM
You could get Lynx, the textbased browser and just "click" on each of the files, maybe that will prompt a download.

sudo apt-get install lynx

Monicker
May 21st, 2008, 02:42 AM
Now the link looks better. ;)



wget -r -A mp3 http://site.com/directory

DBrocks
May 21st, 2008, 02:48 AM
Thanks! Lol i had a forum staff member come chasing after me. I didn't know that wasnt allowed. But thanks alot!