for args
do
	newname=`echo $args | sed -n 's/.jpg/.gif/p'`
	if [ -r $newname ]; then
		echo -n $newname
	 	echo ' exists. Skipping...'
	else
		echo -n $args
		echo -n '--->'
		echo -n $newname
		echo -n '  ('
		echo -n `filesize $args`
		echo -n ')--->'
		djpeg -G $args > $newname 
		echo -n '('
		echo -n `filesize $newname`
		echo ')'
	fi
done
