Loading

Sunday, December 20, 2009

Download mp3 (music) files with wget

wget -nd -r --no-parent -A.mp3 -A.wma http://www.domain.com/music/
Brief explanation of wget options:
-nd - don't create directories
-r - recursively download
--no-parent - don't ascend to the parent directory
-A - allows you to specify which types of accepted files should be downloaded. In this case, all files with the .wma and .mp3 file extension will be downloaded.

More:

1 comment:

  1. I discovered this is an instructive and intriguing post so i suspect as much it is extremely helpful and learned. I might want to thank you for the endeavors you have made in composing this article.

    ReplyDelete