# vim removeStorageViewsAndLog.sh
#!/bin/bash
#
for I in /home/wwwroot/* ; do
viewcache=${I}/public_html/storage/framework/views
if [ -d $viewcache ]; then
echo ${viewcache}
find ${viewcache} -name "*.php" | xargs rm -rf
#rm -Rf ${Frontcache}/*
fi
done
for I in /home/wwwroot/* ; do
logcache=${I}/public_html/storage/logs
if [ -d $logcache ]; then
echo ${logcache}