[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Change names of .lis and .spf files at run time



We use a copy command as part of the script that produces the initial
report, adding a date notation to the created .lis:

                   cp  my_report.lis  my_report_`date +%m%d`.lis

So the original 'my_report.lis' becomes 'my_report_0826.lis' .

Lorene Hales
Lead Systems Analyst
Oregon State Univ. - Foundation
Lorene.Hales@orst.edu


> -----Original Message-----
> From: Bergeron, Marc, Herndon [SMTP:BergeronM@ALPA.ORG]
> Sent: Wednesday, August 26, 1998 9:28 AM
> To:   Multiple recipients of list SQR-USERS
> Subject:      Change names of .lis and .spf files at run time
>
> Does anyone know how to change the names of the .lis and .spf files at
> run time.
>
> We need to give the files names associated with the day they were run so
> they don't overlay themselves.