Re: Monitor directory and execute script



||
I think sysutils/wait_on is what you are looking for.



Am 07.11.2011 16:21, schrieb Andrea Venturoli:
On 11/07/11 15:26, Warren Block wrote:
On Mon, 7 Nov 2011, Andrea Venturoli wrote:

I need to check for new or updated files in a directory and execute a
script on them whenever that happens.
Before I launch on complicated scripting, is there some
utility/port/deamon that already does this?

There's devel/gamin.

Thanks for the answer.
AFAICT gamin is a library; from there I'd need to develop some daemon, provide rc scripts, etc...

My question was whether such a thing already exists.

bye
av.
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"