Compare values with File name
Posted: Wed Aug 23, 2006 4:30 am
Hai,
One small doubt.I have a sequential file which contains Date and terminal id:
20060825,00001234
20060409,00002345 like this
I my unix inbox folder contains the following files:
ras.dltx.postrn.20060725.070547.00001234
ras.dltx.postrn.20060409.070547.00002345
ras.dltx.postrn.20060719.070547.00002973
I have to compare the sequential file date and terminal id with the above filenames(ras.dltx.postrn.20060725.070547.00001234
).If the file name contains the seq.file date and terminal id then i have to move the file to another folder otherwise no need.How to achieve this.Kindly give me your suggestions.
Regards,
Satheesh.R
One small doubt.I have a sequential file which contains Date and terminal id:
20060825,00001234
20060409,00002345 like this
I my unix inbox folder contains the following files:
ras.dltx.postrn.20060725.070547.00001234
ras.dltx.postrn.20060409.070547.00002345
ras.dltx.postrn.20060719.070547.00002973
I have to compare the sequential file date and terminal id with the above filenames(ras.dltx.postrn.20060725.070547.00001234
).If the file name contains the seq.file date and terminal id then i have to move the file to another folder otherwise no need.How to achieve this.Kindly give me your suggestions.
Regards,
Satheesh.R