retail icon indicating copy to clipboard operation
retail copied to clipboard

Detect new Subdirectories

Open Memphizzz opened this issue 5 years ago • 1 comments

Hi, first of all thanks for taking this code from Stackoverflow and putting it on GitHub. I was looking for a tool like this but I'm missing one essential feature. Would it be possible to detect new subdirectories created under the watched directory and their log files?

Thanks in advance and keep up the great work!

Memphizzz avatar Apr 03 '19 13:04 Memphizzz

Are you talking about new sub-directories of existing sub-directories or any new directory, including those in the initially scanned one? I would have thought that it would work out of the box. C is not my strong suit and at a cursory glance I'm not confident I could add it although I will check out inotify over the next few days and see what I find. Feel free to check out the code yourself and submit a PR, if you can help incorporate it, I'd be happy to include it.

madivad avatar Apr 27 '19 14:04 madivad