Borrar contenido Invalido de Thunder Cache
Submitted by bitfrost on Vie, 02/03/2012 - 10:13
Estimados,
Si alguno les pasa que hay ciertos videos en thundercache, que no se cachea bien, se puede usar el siguiente comando para librarnos de este problema
find . -size -1060k -exec rm {} \;
Obviamente esto tenemos que hacerlo en la carpeta de youtube de Thundercache.
Saludos
Bitfrôst.
»
- bitfrost's blog
- Inicie sesión o regístrese para enviar comentarios
- 1036 lecturas









.jpg)






Borrar Correctamente el Contenido
El Script de Arriba no funciona correctamente, este si:
/thunder/youtube/domain.db
sqlite3 /thunder/youtube/domain.db "select file from thunder where last_request < \"$data\" and requested = 0 limit 100;"`
sqlite3 /thunder/youtube/domain.db "select file from thunder where size < 3150282 ;"
lista=`sqlite3 /thunder/youtube/domain.db "select file from thunder where size < 3150282 ;"`
for i in $lista
do
sqlite3 /thunder/youtube/domain.db "delete from thunder where file=\"$i\""
if rm "/thunder/youtube/$i" > /dev/null
then
echo "Eliminado $i..."
fi
done