public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] grep -lr ignoring subdirs that start with dot (.)?
@ 2015-04-17 20:57 Tanstaafl
  2015-04-17 21:47 ` Todd Goodman
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Tanstaafl @ 2015-04-17 20:57 UTC (permalink / raw
  To: Gentoo

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 <searchstring> * | 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-04-23 14:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-17 20:57 [gentoo-user] grep -lr ignoring subdirs that start with dot (.)? Tanstaafl
2015-04-17 21:47 ` Todd Goodman
2015-04-17 22:02   ` covici
2015-04-17 21:59 ` Neil Bothwick
2015-04-23 11:32   ` Tanstaafl
2015-04-23 14:45     ` Neil Bothwick
2015-04-19 11:12 ` Andreas K. Huettel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox