From: Rudi Ahlers Rudi@SoftDux.com
For example, a photo would be uploaded last night and today when we checked it, it doesn't show on the website. So we check if the file is on the server, and exists but is 0KB in size. Last night it still worked fine. The photo is 482Kb in size.
Only the size changed to 0 or were some other stats changed too? Maybe try something like: inotifywait -m --format "%T %e %f" --timefmt "%D %T" -r /path/to/dir At least you would know at what time something happens...
JD