#!/bin/bash if [ ! "$(pwd | grep scripts$)" ] ; then echo "Working directory is wrong" exit 1; fi . _defines.sh if [ -d "$PUB_BASE_PATH/www/$THUMBNAILS_DIRECTORY" ] ; then rm -Rf $PUB_BASE_PATH/www/$THUMBNAILS_DIRECTORY/* fi