According to this answer, I can rename logfile of screen with date to avoid logfile appending problem
But %c used in that answer contains a colon, like 19:00. Since I have to sync files with windows, while windows won't accept colon in filename.
So according Linux: Bash Get Time, I tried
logfile ./screenlog-%n-%H%M%S
But, I got different inteperation. %H becomes the name of logging node, %M becomes Apr, %S becomes 0S
What is wrong? How to get correct date and time in .screenrc ?
:is called a 'colon', not a 'semi-colon'.;is the semi-colon. – cas Apr 30 '16 at 11:39