Moving multiple files and renaming them on the fly

Hi All,
Being new to scripting I am facing a new situation. We have an application that generates a file lets say dumpfile for each user under the users home directory when they execute the application. This is quite a huge file and imagine having that for over 40 users on a daily basis. The problem is that my /home folder gets full and hence needs to have these files moved to another volume. All files being of the same name I would like to know what i should add to my simple script :

find /home core -mtime +1 -exec mv -f {} /temp/coremv \;

Thank you,
JeeKay

Daemongk,
See if this works for you -- modify the output file as needed:

mYYYYMMDD=`date +"%Y%m%d"`
for mFile in /home/*
do
  mUserName=`echo $mFile | sed 's;.*/;;'`
  mNewFile=$mYYYYMMDD"_"$mUserName'.core'
  echo "mFile = "$mFile" mNewFile = "$mNewFile
  ###mv $mFile /temp/coremv
done