From owner-freebsd-questions@FreeBSD.ORG Mon Nov 7 22:19:22 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 7044E1065675 for ; Mon, 7 Nov 2011 22:19:22 +0000 (UTC) (envelope-from unobe@cpan.org) Received: from hapkido.dreamhost.com (hapkido.dreamhost.com [66.33.216.122]) by mx1.freebsd.org (Postfix) with ESMTP id 56C628FC24 for ; Mon, 7 Nov 2011 22:19:22 +0000 (UTC) Received: from homiemail-a46.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by hapkido.dreamhost.com (Postfix) with ESMTP id 0419617AC14 for ; Mon, 7 Nov 2011 13:39:39 -0800 (PST) Received: from homiemail-a46.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a46.g.dreamhost.com (Postfix) with ESMTP id 103B83E4058; Mon, 7 Nov 2011 13:39:37 -0800 (PST) Received: from paravel.my.domain (login.desert.net [209.104.5.199]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: unobe@rurs.us) by homiemail-a46.g.dreamhost.com (Postfix) with ESMTPSA id E4AC83E4056; Mon, 7 Nov 2011 13:39:36 -0800 (PST) Date: Mon, 7 Nov 2011 14:38:22 -0700 From: David Romano To: Andrea Venturoli Message-ID: <20111107213822.GI22518@paravel.my.domain> References: <4EB7DD00.3070103@netfence.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4EB7DD00.3070103@netfence.it> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org 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 22:19:22 -0000 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 .:. unobe@cpan.org