Dear Any One,
Please kindly help me to find out some way to collect information as below?
zgrep "MCPKG" /centralizedlog/dsd0110{1,4}/afcdr/20190527/*.gz |grep success > save20190527.txt
I would like to run this command to collect information and put it to output file as this example
I can use crontab to run it but the problem is directory and file name always change every day
Thank you very much for your help.
Please kindly help me to find out some way to collect information as below?
zgrep "MCPKG" /centralizedlog/dsd0110{1,4}/afcdr/20190527/*.gz |grep success > save20190527.txt
I would like to run this command to collect information and put it to output file as this example
I can use crontab to run it but the problem is directory and file name always change every day
Thank you very much for your help.