Download files linked in a RSS feed

wget -q -O- http://example-podcast-feed.com/rss | grep -o "<enclosure[ -~][^>]*" | grep -o "http://[ -~][^\"]*" | xargs wget -c
This script can be used to download enclosed files from a RSS feed. For example, it can be used to download mp3 files from a podcasts RSS feed.
Sample Output
$ wget -q -O- http://parisdjs.libsyn.com/rss | grep -o "<enclosure[ -~][^>]*" | grep -o "http://[ -~][^\"]*" | xargs wget -c
--2013-09-24 17:33:29--  http://traffic.libsyn.com/parisdjs/Karl_Hector-Soul_Sauvage_d_Afrique_Vol_2.mp3
Resolving traffic.libsyn.com (traffic.libsyn.com)... 204.16.245.39
Connecting to traffic.libsyn.com (traffic.libsyn.com)|204.16.245.39|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://ec.libsyn.com/p/d/4/0/d40ada743827718e/Karl_Hector-Soul_Sauvage_d_Afrique_Vol_2.mp3?d13a76d516d9dec20c3d276ce028ed5089ab1ce3dae902ea1d01c08737d2c85b33b2&c_id=6161475 [following]
--2013-09-24 17:33:30--  http://ec.libsyn.com/p/d/4/0/d40ada743827718e/Karl_Hector-Soul_Sauvage_d_Afrique_Vol_2.mp3?d13a76d516d9dec20c3d276ce028ed5089ab1ce3dae902ea1d01c08737d2c85b33b2&c_id=6161475
Resolving ec.libsyn.com (ec.libsyn.com)... 68.232.34.133
Connecting to ec.libsyn.com (ec.libsyn.com)|68.232.34.133|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 69569861 (66M), 68359815 (65M) remaining [audio/mpeg]
Saving to: ?Karl_Hector-Soul_Sauvage_d_Afrique_Vol_2.mp3?

0
By: talha131
2013-09-24 12:38:08

5 Alternatives + Submit Alt

What Others Think

You have done a great job on this article. It’s very readable and highly intelligent. You have even managed to make it understandable and easy to read. You have some real writing talent. Thank you. Court bundle
Goodbooks · 69 weeks and 1 day ago
Due to some technical issues caused some pause but it was after all about those files to get them installed for my project related to applique digitizing services
velvetyoung · 69 weeks ago
Hi I'm so glad I found your blog, I'm here and can only say thanks for a great post. Let's continue to do well. If you have more time, please visit: girls games
among · 68 weeks and 6 days ago
Ah, so this is how I can store host IP in a variable. Good to know about this. I will ask my robotheartstories.com colleagues what they think about this. I hope they'll share their honest opinion.
robinjack · 68 weeks and 4 days ago
It has never been easy to buy cannabis online. Especially the high-quality strains that can be used by an adult. We also offer discrete and overnight shipping to most countries across the globe. CONTACT DETAILS  Website... https://legalpsychedelic-store.com/ Email... legalpsychedelicstore@gmail.com Whatsapp....+12135339726 mdma pills for sale Buy DMT Online pure mdma crystal LSD FOR SALE. liberty caps golden teacher mushrooms Buy ketamine powder BUY 5-MeO-DMT Lsd for sale  Buy legal psychedelics buy magic mushrooms online buy magic mushrooms online buy lsd online Buy legal psychedelics
lobe123 · 66 weeks and 4 days ago
You did an excellent job on this topic. It's really readable and well-informed. You've even made it understandable and enjoyable to read. You've got some serious writing skills. Thank you very much. super mario bros
sonalford · 60 weeks and 2 days ago
What do you usually do during an epidemic season like this? To keep you engaged throughout the hectic season, I've discovered an amusing game that involves run 3 . Please come along with me right now.
johnsmithjs2811 · 57 weeks and 3 days ago
we are not our best intentions. we are what we do. and what you need to do is check this link out doula jacksonville fl
TamaraYeo · 51 weeks and 1 day ago
leave a little sparkle wherever you go, so check this link out guitar lessons baltimore
TamaraYeo · 51 weeks and 1 day ago
stop thinking and just let things happen... and click this link cabinets waco
TamaraYeo · 51 weeks and 1 day ago
This women’s offering features a traditional Red and Black leather upper that [url=https://www.jordankicks.org/]Fake Jordan[/url] rests atop a modified chunky platform sole done in White with Red bottoms. Additional details includes the outline of the “Wings” logo on the heel tab and cork insoles.
JORDANKICKS · 51 weeks ago
This women’s offering features a traditional Red and Black leather upper that rests atop Fake Jordan a modified chunky platform sole done in White with Red bottoms.
JORDANKICKS · 51 weeks ago
real estate web design read me more plez click link web design read me more plez click link web design read me more plez click link web design read me more plez click link web design read me more plez click link web design read me more plez click link web design
dewoweb · 50 weeks and 6 days ago
Buy Psychedelics Online in USA here at your favorite psychedelics shop. Welcome to the BuyPsychedelicsUSA, The place for all your psychedelic drug and herbs. You’re at the right place to receive new experiences, insights, experiences. BuyPsychedelicsUSA has a large collection of products such as DMT, Magic Mushroom ,LSD , kratom, Ayahuasca and more . buy psychedelics online Take the time to see everything and don’t hesitate to contact us if you have questions or for advice. buy legal psychedelics online is usa uk and australia. buy dmt online buy lsd online buy ayahuasca online ibogaine for sale mdma for sale buy kratom online buy mescaline online buy mushroom online buy psychedelics online usa 4 ACO DMT For Sale Buy 5 MEO DMT Online buy dmt online NN DMT Erowid For Sale dmt vape pens for sale Changa DMT buy lsd gel tabs liquid lsd for sale buy lsd online buy psychedelics online Buy dmt online 5 meo dmt for sale 4-aco-dmt for sale dmt dose how to smoke dmt whats dmt making dmt 4aco dmt smooking dmt mushroom edibles magic mushroom chocolate how to make dmt how long does dmt last buy magic mushrooms online stiiizy pods buy magic mushrooms online Psychedelic Magic Mushrooms For Sale Online Where Can I get Psilocybin Mushroom Online What Are Psilocybins Mushroom buy magic mushrooms online shop dry magic mushroom buy mushroom capsules online shop psilocybin magic mushroom buy magic mushroom edibles buy thc carts online buy thc carts online THC Vapes Carts For Sale Buy Prefilled Vape Cartridges THC Vape Pens For Sale Best THC Vape Cartridge buy dmt online buy lsd online buy psychedelics online Buy dmt online 5 meo dmt for sale 4-aco-dmt for sale https://thcbulksupplies.com buy weed online buy stiiizy pods online buy marijuana online with worldwide shipping buy weed online usa buy weed online Weed For Sale Online in USA where to buy weed online Buying Weed Online Where To Buy Weed Online in USA Buy magic mushrooms Buy nembutal Online 4 aco dmt australia 4 aco dmt buy usa 4 aco dmt for sale 4 aco dmt supplier 4 aco dmt uk 5 meo dmt buy 5 meo dmt where to buy acid blotter paper ayahuasca tea canada Ayahuasca tea for sale buy 5 meo dmt Canada buy 5 meo dmt online Buy ayahuasca tea online Buy DMT Buy DMT online Buy DMT online Canada buy dmt online usa buy dmt vape pen buy liquid lsd Buy lsd Buy LSD acid Buy LSD Gel Tabs online buy lsd online buy LSD tabs online buy lysergic acid DMT for sale dmt pen dmt vape DMT Vape Pen DMT vape pen for sale online dmt vape pens DMT Vape Cartridge LSD acid for sale LSD blotter paper for sale LSD blotter sale lsd blotters for sale lsd for sale lsd for sale online lsd gel tabs lsd tabs for sale lysergic acid for sale Order ayahuasca tea online purchase ayahuasca tea Where can I buy 5-MeO-DMT online Where can I buy ayahuasca tea a href="https://thcbulksupplies.com/"rel="dofollow">buy weed online buy stiiizy pods online buy marijuana online with worldwide shipping buy marijuana edibles online smart bud moon rocks for sale buy cbd oil online dank vapes for sale order brass knuckles online stiiizy pod exotic carts moon rocks drugs buying weed online acdc weed granddaddy purple near me buy new york city diesel grape god strain buy 30 cannabis fat burner capsules buy marijuana flowers online buy sun rocks online buy red congolese live resin online buy pre-rolled joints online buy real weed onlin cheape buy sour diesel online mail order weed order marijuana online weed for sale pineapple punch strain backwood preroll where can i buy weed online buy weed online usa tko carts order weed online buy medical weed online buy weed online usa buy legal weed online where can i buy weed online can you buy weed online order marijuana online marathon-og buy psychedelics online in usa buy weed online in usa
snupdablogger · 46 weeks and 2 days ago
Amazing! This blog looks just like my old one! It's on a completely different subject but it has pretty much the same layout and design. Wonderful choice of colors! Pug Puppies for Sale Near Me PUG PUPPY FOR SALE NEAR ME PUG PUPPIES FOR SALE pug puppies for sale in kentucky Pug Puppies for Sale Under $500 Near Me pug puppies for sale in texas pugs puppies for sale teacup pugs for sale pug puppies for sale by owner pug puppies ohio
rahimhh21 · 15 weeks and 1 day ago
Pug Puppies for Sale Near Me pugs puppies for sale teacup pugs for sale pug puppies for sale by owner pug puppies ohio PUG PUPPY FOR SALE NEAR ME PUG PUPPIES FOR SALE pug puppies for sale in kentucky Pug Puppies for Sale Under $500 Near Me pug puppies for sale in texas pug puppies for sale $200 pugs for sale near me under $500 pugs for sale under $400 near me pugs for sale near me puppies for sale near me under $500 pug puppies for sale under $1,000 near me pug for sale pug puppies for sale under $300 Brindle Pug Pitbull Pug Mix Pugs for sale cheap Cheap pug affordable pug puppies for sale near me black pugs for sale near me White Pugs for sale pug dog for sale free pug puppies pug puppies for sale in my area mn pug breeders pug puppies indiana pugs for sale michigan PUG PUPPY ADOPTION Pug puppies for sale Pug puppies for sale near me Pug puppies near me Pug Puppies for Sale Under $500 Near Me Cute Pug Puppies Black pug puppies Black pug puppies for sale pug puppies for adoption black pug puppies for sale near me chihuahua pug mix puppies how much is a pug puppy teacup pug puppies baby pug puppies baby pug puppies for sale pictures of pug puppies pug puppies for sale in Ohio pug puppies price pug mix puppies teacup pug puppies for sale best food for pug puppy newborn pug puppies pug puppies craigslist pug puppies for sale craigslist adorable pug puppies how much does a pug puppy cost Pitbull pug mix puppies pug pit mix puppy pug puppies for sale $200 pug puppies for sale in NJ Pug puppies for sale in Wisconsin pug puppy cost pug puppy food royal canin pug puppy royal canin pug puppy food fawn pug puppy pug puppies for sale florida pug puppies for sale in Indiana pug puppies for sale in KY pug puppies for sale in NC pug dog puppy AKC Registered Pug Puppies For sale cheap pug puppies for sale near me cheap pug puppies for sale in California cheap pug puppies for sale in nj Black Pug Puppies for sale pugs puppies for sale
Perfecthomepugs · 6 weeks ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: