Re: simple script question

2003-06-11 Thread Leonard Miller
use the 'date' command in your script Example: mv report.txt `date '+%d-%b-%Y'`.txt will move report.txt to 11-Jun-2003.txt see 'man date' for more info >>> [EMAIL PROTECTED] 06/11/03 02:31PM >>> Sorry if this question is a no brainier, I'm a little new to Linux. I have a standard file that

simple script question

2003-06-11 Thread Justin Northcraft
Sorry if this question is a no brainier, I'm a little new to Linux.   I have a standard file that is generated that I would like to have script run and change the name on that file automatically to the date of that day for archiving. IE. report.txt change to 6-11-03.txt or even just add anothe