view clearCache.sh @ 28:03e68185c2f5

block spam forums
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 02 Jul 2020 21:19:24 -0600
parents 7ecd1a4ef557
children
line wrap: on
line source

#!/bin/bash
 
set -e

cd `dirname $0`

mkdir -p local/cache
mv local/cache local/cache.old
rm -rf local/cache.old &

echo "cache cleared";