Re: Monitor directory and execute script
On 11/07/11 16:29, Frank Brendel wrote: || I think sysutils/wait_on is what you are looking for. Thanks, that's exactly it! bye av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Monitor directory and execute script
Andrea Venturoli wrote on Mon, Nov 07, 2011 at 06:28:32AM MST: > 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? For fine-tuned control, perhaps auditd. -- David Romano .:. un...@cpan.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Monitor directory and execute script
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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Monitor directory and execute script
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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Monitor directory and execute script
On Mon, Nov 07, 2011 at 02:28:32PM +0100, Andrea Venturoli wrote: > Hello. > > 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? > > bye & Thanks > av. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" hi, check out sysutils/wait_on! regards, sghctoma ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Monitor directory and execute script
Hello. 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? bye & Thanks av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"