Launch RealAudio streams from the Terminal

Jul 24, '02 09:00:11AM

Contributed by: mnoel

This is not earth-shattering, but I like to listen to the RealAudio version of NPR's All Things Considered. However, I've grown tired of clicking on the web page to fire it up every time. Today I realized I could do this with a simple alias. In my .aliases file I added this:

alias realatc 'curl www.npr.org/atc3.smil >
~/Desktop/atc3.smil; open ~/Desktop/atc3.smil'
That's all one line, by the way, but it's been shown on two lines to narrow it for display purposes. Add a space after the > sign and enter the text on one row if you're adding this to your .aliases file.

Now when I type 'realatc' in the Terminal, it downloads the daily All Things Considered RealAudio file to my desktop with curl, then opens that file, which launches RealOne and plays it for me.

Comments (16)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20020724090011111