Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Record an mp3 stream into 2 hour blocks
while true; do \
wget -q -O - | \
cronolog -H /home/mark/archives/current.mp3 \
-p "2 hours" '/home/mark/archives/%Y-%m-%d/%s.mp3'
sleep 1s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment