this problem is really driving me crazy.
My situation is that I'm having a big directory on my ubuntu server with about 150 subfolders I need to watch. Those subfolders mainly contain PDF files where users can upload new files on their own. Now as I need to make thumbnails of those PDFs and as I cannot access the source of the tool used to upload the files, I would like to check for newly added files (at best in real time) and if a new file is added I would like to use my script to automatically use ghostscript to create my thumbnails.
I already tried a solution with incron and another one with watcher (which didn't work at all, due to Ubuntu 10.04). Incron would have been great but doesn't work unfortunately as it can't be used for monitoring filesystems recursively...
I would be thankful for any help/hint