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 DE4F3138CA3 for ; Sun, 19 Apr 2015 11:13:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2CDDDE0996; Sun, 19 Apr 2015 11:12:56 +0000 (UTC) Received: from mo4-p05-ob.smtp.rzone.de (mo4-p05-ob.smtp.rzone.de [81.169.146.182]) (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 D7094E08F5 for ; Sun, 19 Apr 2015 11:12:54 +0000 (UTC) X-RZG-AUTH: :IW0NeWCpcPchHrcnS4ebzBgQnKHTmUiSF2JlOcy++J4CiniTKHWnzkcZlA== X-RZG-CLASS-ID: mo05 Received: from pinacolada.localnet (46-227-103-47.hsi.glasfaser-ostbayern.de [46.227.103.47]) by smtp.strato.de (RZmta 37.5 AUTH) with ESMTPSA id y01737r3JBCekkE (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve sect571r1 with 571 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Sun, 19 Apr 2015 13:12:40 +0200 (CEST) From: "Andreas K. Huettel" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] grep -lr ignoring subdirs that start with dot (.)? Date: Sun, 19 Apr 2015 13:12:39 +0200 User-Agent: KMail/1.13.7 (Linux/3.12.38-gentoo; KDE/4.14.6; x86_64; ; ) References: <553173CD.4090801@libertytrek.org> In-Reply-To: <553173CD.4090801@libertytrek.org> Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201504191312.39902.dilfridge@gentoo.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 X-Archives-Salt: 63469abb-7ab9-425e-a9f1-1f6fbfc05ad3 X-Archives-Hash: e4cb9c353e3e627cd0889d171aefa661 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Am Freitag, 17. April 2015, 22:57:49 schrieb Tanstaafl: > > 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)?? > '*' does not match things starting with a dot, your suspicion is correct. (make a directory with one file in it, try ls -la versus ls -la * :) There's a simple solution: grep -lr . | xargs ls -lt - -- Andreas K. Huettel Gentoo Linux developer dilfridge@gentoo.org http://www.akhuettel.de/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0 iQJ8BAEBCgBmBQJVM42nXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0RkJDMzI0NjNBOTIwMDY5MTQ2NkMzNDBF MTM4NkZEN0VGNEI1Nzc5AAoJEOE4b9fvS1d5S60QALUnG47SWSGLhTvRqjkZOV5N azVJ2IECtTpfs39abkjIA77lJ0CPFAfBvM6rFMSu2WV4D39jHSRAtCYoq34OgG2s Vh03CL8igCj6oPqcgmKqnubtpghwetfPf9r+9t5drBiR8oESCiI4J9JZo22aWxkr f2CMAdXWxDPyGfe/JFT7RBsnNbXn5gNVgIFXzxlIMM3bpiBQXZL6M7IZWrCw9+Sw a/NpqjcaqzJo13hxeTGGcnUWfVJKOjUAjVs8k8Y+lp68YYSKv30TY90UCziYyFUP lFjG0ZGY9trz2XPeLzV+Nkds04ISyZVSXGCg6uPLmlQeRxaOEIOVvHUNuJE8ik0A PsoeChm87uUCgQWV/DuZa2rBUSENNnIM3r8lU/Zh4QTc8fNYmGf80DV+tvvtA4rX WCwY9wgqaXllDjZce4MM2pBsuQh7crWZU5WvVyMmsFwYYd/8SBv0FI1POU/ze4lr /3AUDAXQyohY51mwJMbMvOxWNi3gUHjZiIg4LGpV7Uqy4ZMnxb/ezR6wOvJQnKrz WPpBQXGTG29/oLEhyY/DywA5dspjOoZE+mPG7vuooNM3RucbVH0z+guyDBrei0GL 3fWwbPtTHO7OdgZeM7uO/lCw/W8Wms7r6YWJF+yeZ/DBXkWD+IXAf6toZXV+BJck f28EWPmh69ldJxyAkfqi =5+Ts -----END PGP SIGNATURE-----