#/bin/csh -v
foreach i (*.gif *.jpg)
if (-e $1/$i) then
	echo $i" is a duplicate name."
else
	mv $i $1
endif
end
