echo -n "Enter the directory to be updated - begin and end with '/' please:"
read dir
for a in $*
	do
	if test ! -d "$a"
		then
		echo -n "$a..."
		cp -a "$a" /tmp/zz
		cat /tmp/zz |  sed "s:/ForensiX/:$dir:g" > "$a"
		echo "done."
	fi
	done
echo "All done."
