Is there a way to do something like this:
tail -f logs/
and make the stdout to be updated on every line added to each file already present in logs/ and to every file that will be created in logs/ after the command is issued?
tail
Is there a way to do something like this:
tail -f logs/
and make the stdout to be updated on every line added to each file already present in logs/ and to every file that will be created in logs/ after the command is issued?
Best Answer
Thanks all for support, but since nor mutitail nor tail -F nor watch tail seems to help for what I need, I developed a small solution in C. I post the code here, since maybe someone can find it useful. (There are missing checks and some weakness I know, but so far it's enough)