#!/bin/bash HLS=/var/www/html/canal/ find $HLS -type f -name "*.ts" -amin +30 -exec rm {} \;