#!/bin/bash

cd /var/www/
echo "Looking for hacked icons"
find -name ".*.ico"
if [[ $? != 0 ]]; then
        echo "No icons found, moving on"
else
        echo "Deleting icons..."
        find -name ".*.ico" -exec rm  {} \;
        echo "Icons deleted
fi
