- New CITP/MSEx menu. Init protocol and make thumbs options

This commit is contained in:
Santi Noreña 2013-02-12 15:07:08 +01:00
parent ef52ae20d8
commit 2d1bbe0e37
12 changed files with 674 additions and 727 deletions

View file

@ -3,10 +3,11 @@
# Script que genera thumbnails de todas las películas en el directorio Media
# Copyright Santi Noreña 2012-2013
# GPL License
cd $0 ||{
echo "Can not change to directory." $0
cd $1 ||{
echo "Can not change to directory." $1
exit $E_XCD;
}
cd video
for folder in $(find -maxdepth 1 -type d); do
rm $folder/thumbs/*
mkdir $folder/thumbs