copy to a new directory and rename w/date stamp
Newbie 1st post here. Trying to find the most efficient way to copy a file to a different directory and rename it with a date stamp extension. Looking to accomplish this with one command if possible.
File = make_file
Full path /home/user1/bin/scripts/make_file
would like to move to the following directory
I'm trying to find out how to use command substitution along with the date command that when I copy the file to the archive directory it gets renamed with a time stamp extension. It should look something like "make_page_12:00:00-24-10-2010"
I've tried a few different combinations using the cp and mv commands but can't seem to get it to work the way I want to. Much thanks to anybody that can help getting this Windows sysadmin on the right track to learning this great OS.