#! /bin/sh

IMGDIR=images
CURRDIR=`pwd`

if test ! -d ${CURRDIR}/${IMGDIR}
	then	
		echo I did not find the directory \"${IMGDIR}\" in the current directory. Exiting ...
		exit 1
fi

for i in ${CURRDIR}/${IMGDIR}/*
do
	chmod go-w $i/*.gif
	echo Done in : $i
done

exit
