I need a command that acts like tail -f
(displays file changes in realtime), but it should display the new output for all files (even if the new file is created/added). I don't know what files will be there in the directory I need to listen, that's why I need it.
I found out that tail -f folder_name/*
does what I want, but it doesn't work if I'll add a new file, it wouldn't display its changes.
Is there a way to accomplish what I need?