1#!/bin/bash
2
3for img in *.png *.gif *.jpg
4do
5  FOUND=`grep -R $img ../site_src`
6  if [ -z "$FOUND" ]
7  then
8    mv $img useless/
9  fi
10done
11