Skip to content

Instantly share code, notes, and snippets.

Last active Mar 8, 2021
What would you like to do?
Save $1 secs of RTV38 stream
#! /bin/sh
# Saves a given number of seconds of the RTV38 live stream.
DATE="$(date +%F)"; timeout -15 $1 youtube-dl -o $DATE $PLURL; mv -v $DATE.{part,mp4}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment