I need to write a script that will rename a file where the destination file name will obtain and include the system date. I need help with how to write the line of the script.
mv original.dat new20080201.dat
where 2008 is the year
02 is the month
01 is the day