Groups | Search | Server Info | Login | Register


Groups > comp.os.linux.advocacy > #712623

Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts”

From Alan <nuh-uh@nope.com>
Newsgroups comp.os.linux.advocacy, comp.sys.mac.advocacy
Subject Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts”
Date 2026-05-10 21:41 -0700
Organization A noiseless patient Spider
Message-ID <10trmm6$s464$1@dont-email.me> (permalink)
References (10 earlier) <10tnb3a$3kvct$3@dont-email.me> <10tnbn4$3d89e$1@dont-email.me> <10tpsbr$bj8g$1@dont-email.me> <10tq10n$d7n6$1@dont-email.me> <10tqbb6$gg6l$1@dont-email.me>

Cross-posted to 2 groups.

Show all headers | View raw


On 2026-05-10 09:21, Chris Ahlstrom wrote:
> Alan wrote this screed in ALL-CAPS:
> 
>> On 2026-05-10 05:06, Chris Ahlstrom wrote:
>>> Alan wrote this screed in ALL-CAPS:
>>>
>>>> On 2026-05-09 05:59, Chris Ahlstrom wrote:
>>>>> Alan wrote this screed in ALL-CAPS:
>>>>>
>>>>>> On 2026-05-08 10:44, Chris Ahlstrom wrote:
>>>>>>> Alan wrote this screed in ALL-CAPS:
>>>>>>>
>>>>>>>> On 2026-05-06 18:34, rbowman wrote:
>>>>>>>>> On Wed, 6 May 2026 13:34:55 -0700, Alan wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> Sure!
>>>>>>>>>>
>>>>>>>>>> mdfind "kMDItemFSName == '*.py' && kMDItemTextContent == 'cat'" -0 |
>>>>>>>>>> xargs -0 grep -i -B 3 -A 2 "cat"
>>>>>>>>>>
>>>>>>>>>> Didn't need to install an additional piece of software at all!
>>>>>>>>>
>>>>>>>>> And this is easier than 'find . -name "*.py" | .....
>>>>>>>>
>>>>>>>> Faster... ...like a LOT faster; impossibly faster.
>>>>>>>>
>>>>>>>> On my drive with 2,711,067 files, running my command takes...
>>>>>>>>
>>>>>>>> (Running it again now)
>>>>>>>>
>>>>>>>> ...1 second.
>>>>>>>
>>>>>>> Cached, obviously :-D
>>>>>>>
>>>>>> Nope.
>>>>>>
>>>>>> Indexed.
>>>>>
>>>>> And cached.
>>>>
>>>> Nope.
>>>>
>>>> Yes, there is an index.
>>>>
>>>> No, nothing was cached.
>>>
>>> Are you saying that MacOS does not cache data? Data such as... an
>>> index?
>>>
>>> Surely you're joking, Mr. Fine Man!
>>
>> An index is not a cache.
> 
> Duh!
> 
>> You were trying to imply that it ran fast because it had run immediately
>> before.
> 
> I'm done with you, so obtuse, on this topic.
> 

So if that isn't what you were implying...

...and you acknowledge that an index is not the same thing as a cache...

...what WERE you trying to claim?

Back to comp.os.linux.advocacy | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

“5 MacOS command line tools I swear by over their GUI counterparts” Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-05-05 00:54 +0000
  Re: “5 MacOS command line tools I swear by over their GUI counterparts” Alan <nuh-uh@nope.com> - 2026-05-04 18:14 -0700
    Re: “5 MacOS command line tools I swear by over their GUI counterparts” "Joel W. Crump" <joelcrump@gmail.com> - 2026-05-04 21:24 -0400
      Re: “5 MacOS command line tools I swear by over their GUI counterparts” Alan <nuh-uh@nope.com> - 2026-05-04 18:58 -0700
      SSD prices (was Re: “5 MacOS command line tools I swear by over their GUI counterparts”) John Bokma <contact@johnbokma.com> - 2026-05-05 17:13 +0200
        Re: SSD prices (was Re: “5 MacOS command line tools I swear by over their GUI counterparts”) CrudeSausage <crude@sausa.ge> - 2026-05-05 11:20 -0400
          Re: SSD prices (was Re: “5 MacOS command line tools I swear by over their GUI counterparts”) John Bokma <contact@johnbokma.com> - 2026-05-05 17:31 +0200
            Re: SSD prices (was Re: “5 MacOS command line tools I swear by over their GUI counterparts”) CrudeSausage <crude@sausa.ge> - 2026-05-05 12:02 -0400
              Re: SSD prices (was Re: “5 MacOS command line tools I swear by over their GUI counterparts”) John Bokma <contact@johnbokma.com> - 2026-05-05 18:08 +0200
                Re: SSD prices (was Re: “5 MacOS command line tools I swear by over their GUI counterparts”) Alan <nuh-uh@nope.com> - 2026-05-05 09:14 -0700
                Re: SSD prices (was Re: “5 MacOS command line tools I swear by over their GUI counterparts”) John Bokma <contact@johnbokma.com> - 2026-05-05 18:49 +0200
                Re: SSD prices (was Re: “5 MacOS command line tools I swear by over their GUI counterparts”) CrudeSausage <crude@sausa.ge> - 2026-05-05 13:21 -0400
                Re: SSD prices (was Re: “5 MacOS command line tools I swear by over their GUI counterparts”) Alan <nuh-uh@nope.com> - 2026-05-05 11:22 -0700
        Re: SSD prices (was Re: “5 MacOS command line tools I swear by over their GUI counterparts”) "Joel W. Crump" <joelcrump@gmail.com> - 2026-05-05 13:35 -0400
          Re: SSD prices (was Re: “5 MacOS command line tools I swear by over their GUI counterparts”) John Bokma <contact@johnbokma.com> - 2026-05-05 19:41 +0200
            Re: SSD prices (was Re: “5 MacOS command line tools I swear by over their GUI counterparts”) CrudeSausage <crude@sausa.ge> - 2026-05-05 13:53 -0400
              Re: SSD prices (was Re: �5 MacOS command line tools I swear by over their GUI counterparts�) chrisv <chrisv@nospam.invalid> - 2026-05-05 15:36 -0500
                Re: SSD prices (was Re: 5 MacOS command line tools I swear by over their GUI counterparts) CrudeSausage <crude@sausa.ge> - 2026-05-05 18:45 -0400
    Re: “5 MacOS command line tools I swear by over their GUI counterparts” John Bokma <contact@johnbokma.com> - 2026-05-05 17:11 +0200
      Re: “5 MacOS command line tools I swear by over their GUI counterparts” Alan <nuh-uh@nope.com> - 2026-05-05 08:50 -0700
        Re: “5 MacOS command line tools I swear by over their GUI counterparts” John Bokma <contact@johnbokma.com> - 2026-05-05 17:54 +0200
          Re: “5 MacOS command line tools I swear by over their GUI counterparts” Alan <nuh-uh@nope.com> - 2026-05-05 09:06 -0700
            Re: “5 MacOS command line tools I swear by over their GUI counterparts” John Bokma <contact@johnbokma.com> - 2026-05-05 18:13 +0200
              Re: “5 MacOS command line tools I swear by over their GUI counterparts” Alan <nuh-uh@nope.com> - 2026-05-05 09:16 -0700
                Re: “5 MacOS command line tools I swear by over their GUI counterparts” John Bokma <contact@johnbokma.com> - 2026-05-05 18:59 +0200
                Re: “5 MacOS command line tools I swear by over their GUI counterparts” Alan <nuh-uh@nope.com> - 2026-05-05 10:04 -0700
                Re: “5 MacOS command line tools I swear by over their GUI counterparts” John Bokma <contact@johnbokma.com> - 2026-05-05 19:24 +0200
  Re: “5 MacOS command line tools I swear by over their GUI counterparts” CrudeSausage <crude@sausa.ge> - 2026-05-05 08:55 -0400
    Re: “5 MacOS command line tools I swear by over  their GUI counterparts” (was: “5 MacOS command line tools I swear by over  their GUI counterparts”) Brock McNuggets <brock.mcnuggets@gmail.com> - 2026-05-05 13:54 +0000
      Re: “5 MacOS command line tools I swear by over their GUI counterparts” "Joel W. Crump" <joelcrump@gmail.com> - 2026-05-05 10:24 -0400
        Re: “5 MacOS command line tools I swear by over their GUI counterparts” Alan <nuh-uh@nope.com> - 2026-05-05 08:51 -0700
        Re: “5 MacOS command line tools I swear by over  their GUI counterparts” (was: “5 MacOS command line tools I swear by over  their GUI counterparts”) Brock McNuggets <brock.mcnuggets@gmail.com> - 2026-05-05 17:27 +0000
          Re: “5 MacOS command line tools I swear by over their GUI counterparts” John Bokma <contact@johnbokma.com> - 2026-05-05 19:32 +0200
            Re: “5 MacOS command line tools I swear by over  their GUI counterparts” (was: “5 MacOS command line tools I swear by over  their GUI counterparts”) Brock McNuggets <brock.mcnuggets@gmail.com> - 2026-05-05 17:50 +0000
              Re: “5 MacOS command line tools I swear by over their GUI counterparts” John Bokma <contact@johnbokma.com> - 2026-05-05 19:55 +0200
                Re: “5 MacOS command line tools I swear by over  their GUI counterparts” (was: “5 MacOS command line tools I swear by over  their GUI counterparts”) Brock McNuggets <brock.mcnuggets@gmail.com> - 2026-05-05 17:59 +0000
                Re: “5 MacOS command line tools I swear by over their GUI counterparts” John Bokma <contact@johnbokma.com> - 2026-05-05 20:04 +0200
                Re: “5 MacOS command line tools I swear by over  their GUI counterparts” (was: “5 MacOS command line tools I swear by over  their GUI counterparts”) Brock McNuggets <brock.mcnuggets@gmail.com> - 2026-05-05 18:14 +0000
                Re: “5 MacOS command line tools I swear by over their GUI counterparts” John Bokma <contact@johnbokma.com> - 2026-05-05 20:15 +0200
                Re: “5 MacOS command line tools I swear by over their GUI counterparts” Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-05-05 22:37 +0000
                Re: “5 MacOS command line tools I swear by over their GUI counterparts” John Bokma <contact@johnbokma.com> - 2026-05-06 16:44 +0200
              Re: “5 MacOS command line tools I swear by over their GUI counterparts” Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-05-05 22:18 +0000
                Re: “5MacOS command line tools I swear by over their GUI counterparts” (was: “5MacOS command line tools I swear by over their GUI counterparts”) Brock McNuggets <brock.mcnuggets@gmail.com> - 2026-05-05 22:48 +0000
          Re: “5 MacOS command line tools I swear by over their GUI counterparts” "Joel W. Crump" <joelcrump@gmail.com> - 2026-05-05 14:26 -0400
            Re: “5 MacOS command line tools I swear by over  their GUI counterparts” (was: “5 MacOS command line tools I swear by over  their GUI counterparts”) Brock McNuggets <brock.mcnuggets@gmail.com> - 2026-05-05 18:46 +0000
      Re: “5 MacOS command line tools I swear by over  their GUI counterparts” (was: “5 MacOS command line tools I swear by over  their GUI counterparts”) Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-05-05 21:45 +0000
        Re: �5 MacOS command line tools I swear by over  their GUI counterparts� (was: �5 MacOS command line tools I swear by over  their GUI counterparts�) chrisv <chrisv@nospam.invalid> - 2026-05-05 17:02 -0500
        Re: “5MacOS command line tools I swear by over  their GUI counterparts” (was: “5MacOS command line tools I swear by over  their GUI counterparts”) Brock McNuggets <brock.mcnuggets@gmail.com> - 2026-05-05 23:00 +0000
    Re: “5 MacOS command line tools I swear by over their GUI counterparts” Alan <nuh-uh@nope.com> - 2026-05-05 08:51 -0700
  Re: “5 MacOS command line tools I swear by over their GUI counterparts” John Bokma <contact@johnbokma.com> - 2026-05-05 17:08 +0200
  Re: “5 MacOS command line tools I swear by over their GUI counterparts” John Bokma <contact@johnbokma.com> - 2026-05-05 17:37 +0200
    Re: “5 MacOS command line tools I swear by over their GUI counterparts” Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-05-05 21:46 +0000
      Re: “5 MacOS command line tools I swear by over their GUI counterparts” John Bokma <contact@johnbokma.com> - 2026-05-06 16:41 +0200
        Re: “5 MacOS command line tools I swear by over their GUI counterparts” CrudeSausage <crude@sausa.ge> - 2026-05-06 12:24 -0400
          Nix (was Re: “5 MacOS command line tools I swear by over their GUI counterparts”) John Bokma <contact@johnbokma.com> - 2026-05-06 18:27 +0200
            Re: Nix (was Re: “5 MacOS command line tools I swear by over their GUI counterparts”) CrudeSausage <crude@sausa.ge> - 2026-05-06 12:31 -0400
              Re: Nix (was Re: “5 MacOS command line tools I swear by over their GUI counterparts”) John Bokma <contact@johnbokma.com> - 2026-05-06 18:45 +0200
                Re: Nix (was Re: “5 MacOS command line tools I swear by over their GUI counterparts”) CrudeSausage <crude@sausa.ge> - 2026-05-06 12:56 -0400
                Re: Nix (was Re: “5 MacOS command line tools I swear by over their GUI counterparts”) John Bokma <contact@johnbokma.com> - 2026-05-06 19:09 +0200
                Re: Nix (was Re: “5 MacOS command line tools I swear by over their GUI counterparts”) CrudeSausage <crude@sausa.ge> - 2026-05-06 14:04 -0400
                Re: Nix (was Re: “5 MacOS command line tools I swear by over their GUI counterparts”) John Bokma <contact@johnbokma.com> - 2026-05-06 21:58 +0200
                Re: Nix (was Re: “5 MacOS command line tools I swear by over their GUI counterparts”) CrudeSausage <crude@sausa.ge> - 2026-05-06 18:45 -0400
                Re: Nix (was Re: “5 MacOS command line tools I swear by over their GUI counterparts”) CrudeSausage <crude@sausa.ge> - 2026-05-06 14:05 -0400
                Re: Nix (was Re: “5 MacOS command line tools I swear by over their GUI counterparts”) John Bokma <contact@johnbokma.com> - 2026-05-06 22:00 +0200
  mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” Alan <nuh-uh@nope.com> - 2026-05-06 10:37 -0700
    Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” John Bokma <contact@johnbokma.com> - 2026-05-06 19:52 +0200
      Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” Alan <nuh-uh@nope.com> - 2026-05-06 11:58 -0700
        Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” John Bokma <contact@johnbokma.com> - 2026-05-06 21:57 +0200
          Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” Alan <nuh-uh@nope.com> - 2026-05-06 13:34 -0700
            Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” rbowman <bowman@montana.com> - 2026-05-07 01:34 +0000
              Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” Alan <nuh-uh@nope.com> - 2026-05-06 19:31 -0700
                Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” Chris Ahlstrom <OFeem1987@teleworm.us> - 2026-05-08 13:44 -0400
                Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” Alan <nuh-uh@nope.com> - 2026-05-08 11:33 -0700
                Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” Chris Ahlstrom <OFeem1987@teleworm.us> - 2026-05-09 08:59 -0400
                Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” Alan <nuh-uh@nope.com> - 2026-05-09 06:09 -0700
                Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” Chris Ahlstrom <OFeem1987@teleworm.us> - 2026-05-10 08:06 -0400
                Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” Alan <nuh-uh@nope.com> - 2026-05-10 06:25 -0700
                Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” Chris Ahlstrom <OFeem1987@teleworm.us> - 2026-05-10 12:21 -0400
                Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” Alan <nuh-uh@nope.com> - 2026-05-10 21:41 -0700
            Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” John Bokma <contact@johnbokma.com> - 2026-05-07 12:08 +0200
              Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” Alan <nuh-uh@nope.com> - 2026-05-07 07:27 -0700
                Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” Chris Ahlstrom <OFeem1987@teleworm.us> - 2026-05-08 13:52 -0400
                Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” Alan <nuh-uh@nope.com> - 2026-05-08 11:38 -0700
                Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” Chris Ahlstrom <OFeem1987@teleworm.us> - 2026-05-09 09:06 -0400
                Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” Alan <nuh-uh@nope.com> - 2026-05-09 06:10 -0700
                Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” Chris Ahlstrom <OFeem1987@teleworm.us> - 2026-05-10 08:16 -0400
                Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” pothead <pothead@snakebite.com> - 2026-05-10 12:24 +0000
                Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” Alan <nuh-uh@nope.com> - 2026-05-10 06:34 -0700
                Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” rbowman <bowman@montana.com> - 2026-05-10 18:33 +0000
                Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” Chris Ahlstrom <OFeem1987@teleworm.us> - 2026-05-11 07:33 -0400
                Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” Alan <nuh-uh@nope.com> - 2026-05-11 10:26 -0700
                Re: Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” MLT <melaniasloosetwat@wicks.org> - 2026-05-12 01:20 +0000
                Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” CrudeSausage <crude@sausa.ge> - 2026-05-11 21:36 -0400
                Re: mdfind vs ag (was Re: “5 MacOS command line tools I swear by over their GUI counterparts” Alan <nuh-uh@nope.com> - 2026-05-11 10:26 -0700

csiph-web