16 lines
258 B
Bash
16 lines
258 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
cd `dirname "$0"`
|
||
|
|
||
|
for n in "$@"
|
||
|
do
|
||
|
MD5=`echo -n $n | md5sum | cut -d " " -f 1`
|
||
|
if [ -f "onyx/cache/$MD5.cache.php" ]
|
||
|
then
|
||
|
rm -f "onyx/cache/$MD5.cache.php"
|
||
|
echo "--- $n deleted"
|
||
|
else
|
||
|
echo "/!\\ $n not found ($MD5)"
|
||
|
fi
|
||
|
done
|