From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8B580138C9D for ; Fri, 17 Apr 2015 21:47:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F2326E0935; Fri, 17 Apr 2015 21:47:12 +0000 (UTC) Received: from ns1.bonedaddy.net (ns1.bonedaddy.net [70.91.141.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B85EDE090E for ; Fri, 17 Apr 2015 21:47:11 +0000 (UTC) Received: from ns1.bonedaddy.net (ns1.bonedaddy.net [192.168.1.4]) by ns1.bonedaddy.net (8.14.9/8.14.4) with ESMTP id t3HLlAPc009291 for ; Fri, 17 Apr 2015 17:47:10 -0400 Date: Fri, 17 Apr 2015 17:47:10 -0400 From: Todd Goodman To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] grep -lr ignoring subdirs that start with dot (.)? Message-ID: <20150417214710.GO7561@ns1.bonedaddy.net> References: <553173CD.4090801@libertytrek.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <553173CD.4090801@libertytrek.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Archives-Salt: e23a4dfe-700f-46e2-a598-55d0f2861148 X-Archives-Hash: 0d29e8d55c514443192877f3e3df05c2 * Tanstaafl [150417 16:58]: > Hi all, > > Ok, this is driving me crazy... > > I want to be able to quickly search an entire users Maildir for an email > containing a certain string, but output just the filenames WITH THE > DATE/TIMEs... > > So, from the target users top level Maildir: > > grep -lr * | xargs ls -lt > > ^^^ appears to work, and does return results for the cur and new > subdirs, but seems to be ignoring the rest of the Maildirs. Maybe it has > something to do with the fact that they start with dots (ie, .Sent, > .Trash, etc)?? > > Anyone have any idea why the above doesn't search them all? > > Thanks Try? grep -lr * | xargs ls -lta Maybe? Todd