Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.mac.apps > #37385
| From | "Happy.Hobo" <Happy.Hobo@Spam.Invalid> |
|---|---|
| Newsgroups | comp.sys.mac.apps |
| Subject | Re: Mail.app problem |
| Date | 2016-12-14 22:29 -0600 |
| Organization | On The Road |
| Message-ID | <o2t67u$nf1$1@gioia.aioe.org> (permalink) |
| References | <1my3xwj.1w1q6nqo4118gN%paulfuchs@spamain'tkosher.oink> <o2mvdj$ioq$1@news.albasani.net> <1my6uob.1wql99s1eyytwN%paulfuchs@spamain'tkosher.oink> <o2q46a$5pv$1@gioia.aioe.org> <ebc605F8c8kU1@mid.individual.net> |
On 12-14-2016 00:09, Jolly Roger wrote:
> On 2016-12-14, Happy.Hobo <Happy.Hobo@Spam.Invalid> wrote:
>>
>> Look at one of the old emails. Copy a phrase that's not likely to be
>> very common. Then in Terminal
>>
>> find ~ -type f -exec grep -l "put that phrase here" "{}" \;
>>
>> This will print the full path of any file containing that phrase.
>
> That will take forever! I'd use Spotlight's mdfind command, which will
> find matching items *much* more quickly:
>
> mdfind "phrase here"
>
Not forever. But longer for sure.
on my system, 'mdfind waters | grep Mail' took 68 milliseconds.
'grep -lr ~/Library/Mail' took 42 seconds
'find ~/Library/Mail -type f -exec grep -l waters "{}" \;' to more than
a minute.
BUT (and I don't understand this), find/grep found more files than the
recursive grep, and the recursive grep reported more files than mdfind.
Differences may be less unless you're like me, saving e-mails for years.
Back to comp.sys.mac.apps | Previous | Next — Previous in thread | Find similar
Mail.app problem paulfuchs@spamain'tkosher.oink - 2016-12-11 19:26 -0600
Re: Mail.app problem Wade Garrett <wade@cooler.net> - 2016-12-12 14:56 -0500
Re: Mail.app problem Jolly Roger <jollyroger@pobox.com> - 2016-12-12 20:02 +0000
Re: Mail.app problem paulfuchs@spamain'tkosher.oink - 2016-12-13 09:13 -0600
Re: Mail.app problem "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-12-13 18:36 -0600
Re: Mail.app problem Lewis <g.kreme@gmail.com.dontsendmecopies> - 2016-12-14 03:33 +0000
Re: Mail.app problem Jolly Roger <jollyroger@pobox.com> - 2016-12-14 06:09 +0000
Re: Mail.app problem Bruce Esquibel <bje@ripco.com> - 2016-12-14 12:25 +0000
Re: Mail.app problem Jolly Roger <jollyroger@pobox.com> - 2016-12-14 15:23 +0000
Re: Mail.app problem Lewis <g.kreme@gmail.com.dontsendmecopies> - 2016-12-15 04:23 +0000
Re: Mail.app problem Bruce Esquibel <bje@ripco.com> - 2016-12-15 11:44 +0000
Re: Mail.app problem Lewis <g.kreme@gmail.com.dontsendmecopies> - 2016-12-15 02:30 +0000
Re: Mail.app problem Lewis <g.kreme@gmail.com.dontsendmecopies> - 2016-12-15 02:29 +0000
Re: Mail.app problem "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-12-14 22:29 -0600
csiph-web