Script to create folder, copy file, and send email on success

view story

http://www.unix.com – I am very new to UNIX as well as scripting so please be gentle, haha. I have a Linux client which has a mount point mapped to my /etc folder on a NetApp FAS system. I woudl like to be able to copy the hosts and rc files once a week from the FAS to a different location for backup. When the copy happens I would like the script to create a folder based on the current date, then copy the rc and hosts file to that new folder. Once this copy is successful I would like a basic email to be sent to a DL to inform everyone that the copy succeeded. Is this something that can be scripted? Thank you! (HowTos)