From owner-freebsd-questions@FreeBSD.ORG Fri Jul 23 20:27:16 2010 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 CA4C1106576E for ; Fri, 23 Jul 2010 20:27:16 +0000 (UTC) (envelope-from prvs=8135343e3=neils@tamu.edu) Received: from os-mail-1.tamu.edu (os-mail-1.tamu.edu [165.91.23.62]) by mx1.freebsd.org (Postfix) with ESMTP id 8DC778FC13 for ; Fri, 23 Jul 2010 20:27:16 +0000 (UTC) Authentication-Results: os-mail-1.tamu.edu; dkim=neutral (message not signed) header.i=none Received-SPF: None identity=pra; client-ip=165.91.70.18; receiver=os-mail-1.tamu.edu; envelope-from="neils@tamu.edu"; x-sender="neils@tamu.edu"; x-conformance=sidf_compatible Received-SPF: None identity=mailfrom; client-ip=165.91.70.18; receiver=os-mail-1.tamu.edu; envelope-from="neils@tamu.edu"; x-sender="neils@tamu.edu"; x-conformance=sidf_compatible Received-SPF: None identity=helo; client-ip=165.91.70.18; receiver=os-mail-1.tamu.edu; envelope-from="neils@tamu.edu"; x-sender="postmaster@ariel.met.tamu.edu"; x-conformance=sidf_compatible X-HAT: SG INTERNAL_RELAY, P $RELAY, L IncomingMail X-SRBS: None X-EXTLoop1: 165.91.70.18 X-IronPort-AV: E=Sophos;i="4.55,249,1278306000"; d="scan'208,217";a="124472181" Received: from ariel.met.tamu.edu ([165.91.70.18]) by os-mail-1.tamu.edu with ESMTP; 23 Jul 2010 14:58:04 -0500 Received: from dusan.met.tamu.edu (dusan.met.tamu.edu [165.91.168.29]) by ariel.met.tamu.edu (Postfix) with ESMTP id 4F9014E4D56 for ; Fri, 23 Jul 2010 14:58:06 -0500 (CDT) From: Neil Smith Date: Fri, 23 Jul 2010 14:58:06 -0500 Message-Id: <178EAA50-D7FE-4355-91EC-3C1018465568@tamu.edu> To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: monitor util in a scripted daemon? 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: Fri, 23 Jul 2010 20:27:16 -0000 - Is there a command (native, shell, or ports collection) to sit and = watch for new file creation in a directory? - I'd like to build a system startup script for such a command and its = scripted actions. Sound possible? - Is there already something in the default OS that does something = similar? Thanks, -Neil --- Neil Smith neils@tamu.edu Comp. Sys. Mngr., Atmospheric Sciences