From owner-freebsd-questions@FreeBSD.ORG Mon Nov 7 15:40:16 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 175FC106564A for ; Mon, 7 Nov 2011 15:40:16 +0000 (UTC) (envelope-from Frank.Brendel@eurolog.com) Received: from dmz.eurolog.com (elomail.eurolog.com [194.50.162.62]) by mx1.freebsd.org (Postfix) with ESMTP id 6E0DC8FC0C for ; Mon, 7 Nov 2011 15:40:15 +0000 (UTC) Received: from elomail2.eurolog.com by dmz.eurolog.com via smtpd (for mx1.freebsd.org [69.147.83.52]) with ESMTP; Mon, 7 Nov 2011 16:40:15 +0100 Received: from [10.2.2.157] (10.2.2.157) by elomail2.eurolog.com (10.2.1.199) with Microsoft SMTP Server (TLS) id 14.1.339.1; Mon, 7 Nov 2011 16:29:41 +0100 Message-ID: <4EB7F965.2010403@eurolog.com> Date: Mon, 7 Nov 2011 16:29:41 +0100 From: Frank Brendel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: References: <4EB7DD00.3070103@netfence.it> <4EB7F784.7020104@netfence.it> In-Reply-To: <4EB7F784.7020104@netfence.it> X-ESET-AS: SCORE=2 X-EsetResult: clean, is OK X-EsetId: 6CFE3B22178F41233CBE61 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Monitor directory and execute script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2011 15:40:16 -0000 || 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-unsubscribe@freebsd.org"