retail
retail copied to clipboard
Detect new Subdirectories
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!
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.