From owner-freebsd-questions@FreeBSD.ORG Tue May 18 09:37:34 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 08F021065670 for ; Tue, 18 May 2010 09:37:34 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id D239E8FC1A for ; Tue, 18 May 2010 09:37:33 +0000 (UTC) Received: by iwn42 with SMTP id 42so1478257iwn.13 for ; Tue, 18 May 2010 02:37:33 -0700 (PDT) Received: by 10.231.194.223 with SMTP id dz31mr1239512ibb.87.1274175453131; Tue, 18 May 2010 02:37:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.148.136 with HTTP; Tue, 18 May 2010 02:37:13 -0700 (PDT) In-Reply-To: <4BF1F84F.1000700@ipv6canada.com> References: <4BF1F84F.1000700@ipv6canada.com> From: Eitan Adler Date: Tue, 18 May 2010 12:37:13 +0300 Message-ID: To: Steve Bertrand Content-Type: text/plain; charset=UTF-8 Cc: "questions@freebsd.org" Subject: Re: 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 09:37:34 -0000 > I want to find a file that was recently created. find -newerct '1 hour ago' -print > 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. grep -R "content"