Save an MP3 stream with Curl

Use the following code to save a MP3 stream to disk. Useful with cron to record a show for later time shifting.

curl -sS -o /tmp/output.mp3 --max-time 1800 http://stream1.opb.org/radio.mp3

Courtesy of comandlinefu.com



Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 3.209.56.116
To prevent spam please submit by clicking the kitten: