This post moved to /en/2004/11/06/dnotify-execute-a-command-when-the-contents-of-a-directory-change/