On 02/01/12 12:45, peasth...@shaw.ca wrote: > Moving on to more constructive efforts ... > > peter@joule:~$ incrontab -l > /home/peter/test IN_MODIFY touch ~/indicator 2>&1 > > Then according to my thinking, sending a fresh copy of test > to Joule using FTP, should trigger "touch ~/indicator". If > there is no pre-existing indicator, then an empty file should > be created. Doesn't work.
I think one issue will be that when you copy a new file in there, it's a new file - not the one you were watching. The kernel is tracking the file by inode, not name. So to catch new files, you'll need to monitor the directory it will appear in. Unfortunately, my testing didn't get it working reliably either ... Richard -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4f018a14.9010...@walnut.gen.nz