YESTERDAY=`echo ' ($sec,$min,$hour,$mday,$mon,$year, $wday,$yday,$isdst) = localtime(time() - 86400); printf "%02d%02d%02d", $year-=100, $mon++, $mday; '|perl`
MYFILE="myfile.txt"
MYSTUB=`echo $MYFILE|cut -d'.' -f1`
mv $MYFILE $MYSTUB.$YESTERDAY
Tested OK...
mv myfile.txt myfile.030316
...note that the date is the more useful format "YYMMDD".