From owner-freebsd-questions@FreeBSD.ORG Tue May 18 02:15:49 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65C76106566B for ; Tue, 18 May 2010 02:15:49 +0000 (UTC) (envelope-from steve@ipv6canada.com) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id E3AED8FC18 for ; Tue, 18 May 2010 02:15:48 +0000 (UTC) Received: (qmail 97675 invoked by uid 89); 18 May 2010 02:18:06 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 18 May 2010 02:18:06 -0000 Message-ID: <4BF1F84F.1000700@ipv6canada.com> Date: Mon, 17 May 2010 22:15:43 -0400 From: Steve Bertrand User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 MIME-Version: 1.0 To: "questions@freebsd.org" X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Find a file with an unknown name 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: Tue, 18 May 2010 02:15:49 -0000 I want to find a file that was recently created. The content within the file is known, so I can grep for that. The directory structure that contains the file is also known. The filename is not known. What command string do I use to search a directory structure for a file, when my search pattern only matches content and not filename? Steve