Rename log file based on its content

SARA QUISPE MEJIA a20132950 at
Tue May 2 12:37:30 UTC 2017

I want to know How can I do for to rename a log file in function to the
date of my log file ?
I known that in a log file I could find differents dates but I want to save
just the first date.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list