|
Renaming files to have date/time in filename
I have a program that will export my data to a single file, but it assigns a file name that is overridden every time I run the program. I need to change the file name to have a sequential number in the filename.
How do I rename a file so that the filename contains the system date and time. I want to run this in a script and then get crontab to execute the script.
Any one got any ideas if and how this can be done. I am running Sco OpenServer 5.0.7
|