-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Joel Hammer spewed electrons into the ether that resembled: > I want to have a background job watching a directory for new files > arriving, and then responding when they arrive. > The response time has to be very quick (impatient humans), maybe on the > order of a 1/2 second or less. > I could have a bash script watching the directory, but the sleep command > works in intervals of 1 second. Not fast enuf. > Any ideas appreciated,
have you looked at freshmeat? there's a couple of programs for this purpose. dirwatch is one, IIRC. and isn't this what FAM is for? - -- Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778 Admin: Linux StepByStep - http://www.linux-sxs.org and http://jobs.linux-sxs.org Real programmers don't comment their code. It was hard to write, it should be hard to understand. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) iD8DBQE9uLhSSrrWWknCnMIRAilrAKDQ7op0TiGrlTk568TPmq/FN6kMGwCfXEOR bxc5a3saOJOsWGeVCf1i4no= =V/tP -----END PGP SIGNATURE----- _______________________________________________ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
