I have a request to rename a file based on the contents inside that file.
Date of report: 2015-08-05 19:50:31 -0400
Configuration: Attribute Definition
Job ID: 9988
Transfer file: msc_attributedef_20150805164651.csv
Line count: 2
Lines ok: -
Lines not ok: -
I need a script that will rename the -.log file to msc_attributedef_20150805164651.log. Which is the Transfer file name inside that file.