• =?UTF-8?Q?Re=3A_mdfind_vs_ag_=28was_Re=3A_=E2=80=9C5_MacOS_command_?= =?UTF-8?Q?line_tools_I_swear_by_over_their_GUI_counterparts=E2=80=9D?=

    From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Sun May 10 21:41:42 2026
    From Newsgroup: comp.os.linux.advocacy

    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?
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Chris Ahlstrom@OFeem1987@teleworm.us to comp.os.linux.advocacy on Mon May 11 07:33:30 2026
    From Newsgroup: comp.os.linux.advocacy

    rbowman wrote this screed in ALL-CAPS:

    On Sun, 10 May 2026 08:16:39 -0400, Chris Ahlstrom wrote:

    $ locate xyz

    This finds about 20 files on this system.

    It finds 134 on mine :) That's what happens when you mess around with GIS stuff. There are a lot of Python and Node library files to handle tile requests. The plocate database is 40 MB.

    Arguing with an Apple fanboi is like mud wrestling a pig.

    Seems so. I explicitly noted that an index can be cached.

    One of my favorite tunes:
    --
    Roland was a warrior, from the land of the midnight sun,
    With a Thompson gun for hire, fighting to be done.
    The deal was made in Denmark, on a dark and stormy day,
    So he set out for Biafra, to join the bloody fray.
    Through sixty-six and seven, they fought the Congo war,
    With their fingers on their triggers, knee deep in gore.
    Days and nights they battled, the Bantu to their knees,
    They killed to earn their living, and to help out the Congolese.
    Roland the Thompson gunner...
    His comrades fought beside him, Van Owen and the rest,
    But of all the Thompson gunners, Roland was the best.
    So the C.I.A decided, they wanted Roland dead,
    That son-of-a-bitch Van Owen, blew off Roland's head.
    Roland the headless Thompson gunner...
    Roland searched the continent, for the man who'd done him in.
    He found him in Mombasa, in a bar room drinking gin,
    Roland aimed his Thompson gun, he didn't say a word,
    But he blew Van Owen's body from there to Johannesburg.
    The eternal Thompson gunner, still wandering through the night,
    Now it's ten years later, but he stills keeps up the fight.
    In Ireland, in Lebanon, in Palestine, in Berkeley,
    Patty Hearst... heard the burst... of Roland's Thompson gun, and bought it.
    -- Warren Zevon, "Roland the Headless Thompson Gunner"
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Mon May 11 10:26:12 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-10 11:33, rbowman wrote:
    On Sun, 10 May 2026 08:16:39 -0400, Chris Ahlstrom wrote:

    $ locate xyz

    This finds about 20 files on this system.

    It finds 134 on mine :) That's what happens when you mess around with GIS stuff. There are a lot of Python and Node library files to handle tile requests. The plocate database is 40 MB.

    My ".Spotlight-V100" directory is 4.3GB...

    ...less than 0.5% of my 1TB drive...

    ...and it lets me find every ".py" file on the entire volume in less
    than a second.

    I guarantee you that 4.3GB of my RAM is not occupied by a "cached"
    version of the index.

    Executing this command on "/" (which has some 2,719,481 files) using the "time" utility:

    mdfind "kMDItemFSName == '*.py' && kMDItemTextContent == 'cat'" -0 |
    xargs -0 grep -i -B 3 -A 2 "cat"

    Which finds ever python file, and prints out 3 lines before and three
    lines after the "cat" in each...

    ...took 0.505 seconds.

    I realize that you Linux advocates have to sign a contract in blood with
    Linus Torvalds before they're allowed to use Linux, but seriously:

    Spotlight works excellently, and you just look foolish when you try to
    compare it to something like "locate".
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Mon May 11 10:26:58 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-11 04:33, Chris Ahlstrom wrote:
    rbowman wrote this screed in ALL-CAPS:

    On Sun, 10 May 2026 08:16:39 -0400, Chris Ahlstrom wrote:

    $ locate xyz

    This finds about 20 files on this system.

    It finds 134 on mine :) That's what happens when you mess around with GIS >> stuff. There are a lot of Python and Node library files to handle tile
    requests. The plocate database is 40 MB.

    Arguing with an Apple fanboi is like mud wrestling a pig.

    Seems so. I explicitly noted that an index can be cached.

    No. You made no such explicit claim...

    ...but good job running away to the safety of COLA.

    :-)
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From MLT@melaniasloosetwat@wicks.org to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 12 01:20:30 2026
    From Newsgroup: comp.os.linux.advocacy

    Alan <nuh-uh@nope.com> wrote in news:10tt3h2$19gng$2@dont-email.me:

    On 2026-05-11 04:33, Chris Ahlstrom wrote:
    rbowman wrote this screed in ALL-CAPS:

    On Sun, 10 May 2026 08:16:39 -0400, Chris Ahlstrom wrote:

    $ locate xyz

    This finds about 20 files on this system.

    It finds 134 on mine :) That's what happens when you mess around
    with GIS stuff. There are a lot of Python and Node library files to
    handle tile requests. The plocate database is 40 MB.

    Arguing with an Apple fanboi is like mud wrestling a pig.

    Seems so. I explicitly noted that an index can be cached.

    No. You made no such explicit claim...

    ...but good job running away to the safety of COLA.

    :-)


    How much is Apple paying you Alan to be an extreme fanboy?
    Whatever it is, they are wasting their money because you are considered a joke. Nobody trusts your post. Most people ignore them.

    So how much you making to spew this garbage?
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From CrudeSausage@crude@sausa.ge to comp.os.linux.advocacy,comp.sys.mac.advocacy on Mon May 11 21:36:01 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-11 9:20 p.m., MLT wrote:
    Alan <nuh-uh@nope.com> wrote in news:10tt3h2$19gng$2@dont-email.me:

    On 2026-05-11 04:33, Chris Ahlstrom wrote:
    rbowman wrote this screed in ALL-CAPS:

    On Sun, 10 May 2026 08:16:39 -0400, Chris Ahlstrom wrote:

    $ locate xyz

    This finds about 20 files on this system.

    It finds 134 on mine :) That's what happens when you mess around
    with GIS stuff. There are a lot of Python and Node library files to
    handle tile requests. The plocate database is 40 MB.

    Arguing with an Apple fanboi is like mud wrestling a pig.

    Seems so. I explicitly noted that an index can be cached.

    No. You made no such explicit claim...

    ...but good job running away to the safety of COLA.

    :-)


    How much is Apple paying you Alan to be an extreme fanboy?
    Whatever it is, they are wasting their money because you are considered a joke. Nobody trusts your post. Most people ignore them.

    I know I do.

    So how much you making to spew this garbage?

    They pay him in free Apple stickers.
    --
    CrudeSausage
    M4 MacBook Air
    Islam is the worship of Satan
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Mon May 11 21:20:55 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-11 18:20, MLT wrote:
    Alan <nuh-uh@nope.com> wrote in news:10tt3h2$19gng$2@dont-email.me:

    On 2026-05-11 04:33, Chris Ahlstrom wrote:
    rbowman wrote this screed in ALL-CAPS:

    On Sun, 10 May 2026 08:16:39 -0400, Chris Ahlstrom wrote:

    $ locate xyz

    This finds about 20 files on this system.

    It finds 134 on mine :) That's what happens when you mess around
    with GIS stuff. There are a lot of Python and Node library files to
    handle tile requests. The plocate database is 40 MB.

    Arguing with an Apple fanboi is like mud wrestling a pig.

    Seems so. I explicitly noted that an index can be cached.

    No. You made no such explicit claim...

    ...but good job running away to the safety of COLA.

    :-)


    How much is Apple paying you Alan to be an extreme fanboy?
    Whatever it is, they are wasting their money because you are considered a joke. Nobody trusts your post. Most people ignore them.

    So how much you making to spew this garbage?

    What part of what I just wrote is "garbage"...

    ...more so than calling Apple users "pigs"?
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Chris Ahlstrom@OFeem1987@teleworm.us to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 12 07:20:57 2026
    From Newsgroup: comp.os.linux.advocacy

    Alan wrote this screed in ALL-CAPS:

    <snip>

    I realize that you Linux advocates have to sign a contract in blood with Linus Torvalds before they're allowed to use Linux, but seriously:

    Asshole.

    Spotlight works excellently, and you just look foolish when you try to compare it to something like "locate".

    No, we don't.
    --
    'Mounten' wird fuer drei Dinge benutzt: 'Aufsitzen' auf Pferde, 'einklinken' von Festplatten in Dateisysteme, und, nun, 'besteigen' beim Sex.
    (Christa Keil in a German posting: "Mounting is used for three things:
    climbing on a horse, linking in a hard disk unit in data systems, and, well, mounting during sex".)
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 12 09:49:49 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-12 04:20, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    <snip>

    I realize that you Linux advocates have to sign a contract in blood with
    Linus Torvalds before they're allowed to use Linux, but seriously:

    Asshole.

    I literally replied in kind to the way a Linux advocate just described
    Mac users in a post which was a reply to you...

    ...and to which you replied:

    "Arguing with an Apple fanboi is like mud wrestling a pig."

    So why isn't rbowman an "asshole", asshole?


    Spotlight works excellently, and you just look foolish when you try to
    compare it to something like "locate".

    No, we don't.


    You really do.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Chris Ahlstrom@OFeem1987@teleworm.us to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 12 18:48:46 2026
    From Newsgroup: comp.os.linux.advocacy

    Alan wrote this screed in ALL-CAPS:

    <snip>

    Meh.
    --
    Weinberg's First Law:
    Progress is only made on alternate Fridays.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 12 15:52:53 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-12 15:48, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    <snip>

    Meh.


    Run away, little man!
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From CrudeSausage@crude@sausa.ge to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 12 20:25:01 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-12 6:48 p.m., Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    <snip>

    Meh.


    You've done the right thing, Chris.
    --
    CrudeSausage
    M4 MacBook Air

    "Christians are killing women in this country. And the poor. And
    disabled. And the poor. Look at the "Bible Belt" where all of these
    things and so much more are worse. We are in end-stage capitalized
    fueled by right wing extremist Christians. Muslims do not do nearly the
    harm." - Sodomite Snit Brock McNuggers Michael Glasser, lying shamelessly.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From pothead@pothead@snakebite.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Wed May 13 00:34:46 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-13, CrudeSausage <crude@sausa.ge> wrote:
    On 2026-05-12 6:48 p.m., Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    <snip>

    Meh.


    You've done the right thing, Chris.

    Indeed he has.
    --
    pothead

    "Often imitated, never duplicated."

    "Socialism is the philosophy of failure,
    the creed of ignorance, and the gospel of envy.
    It's inherent virtue is the equal sharing of misery."

    -- Winston Churchill




    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From chrisv@chrisv@nospam.invalid to comp.os.linux.advocacy,comp.sys.mac.advocacy on Wed May 13 04:58:32 2026
    From Newsgroup: comp.os.linux.advocacy

    CrudeSausage wrote:

    On 2026-05-12 6:48 p.m., Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    <snip>

    Meh.

    You've done the right thing, Chris.

    Anal *will* have the last word!

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Joel W. Crump@joelcrump@gmail.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Wed May 13 06:28:47 2026
    From Newsgroup: comp.os.linux.advocacy

    On 5/13/2026 5:58 AM, chrisv wrote:
    CrudeSausage wrote:
    On 2026-05-12 6:48 p.m., Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    <snip>

    Meh.

    You've done the right thing, Chris.

    Anal *will* have the last word!


    Better than your "snipped unread" pussy shit.
    --
    Joel W. Crump
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Wed May 13 16:59:14 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-13 02:58, chrisv wrote:
    CrudeSausage wrote:

    On 2026-05-12 6:48 p.m., Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    <snip>

    Meh.

    You've done the right thing, Chris.

    Anal *will* have the last word!


    Was anyone talking to you?
    --- Synchronet 3.22a-Linux NewsLink 1.2