#!/bin/bash

for png in `ls *.png`
do
  #echo $png
  grep -q $png ../*.tcl
  if [[ $? != 0 ]]; then
    echo "$png is not used"
  fi
done

