Skip to content

Instantly share code, notes, and snippets.

@martastain
Created April 21, 2016 15:04
Show Gist options
  • Save martastain/06421b9fc125e3ff1c0f6beebc0f3bbd to your computer and use it in GitHub Desktop.
Save martastain/06421b9fc125e3ff1c0f6beebc0f3bbd to your computer and use it in GitHub Desktop.
streampunk tools
# delete segments older than 10 mins
*/5 * * * * find /mnt/cache/streampunk/ -maxdepth 1 -mmin +10 -type f -name "*.ts" -exec rm -f {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment