in reply to Finding files recursively

If you are on a *nix box with locate, that might be faster.

Replies are listed 'Best First'.
Re^2: Finding files recursively
by afoken (Chancellor) on Aug 06, 2019 at 20:23 UTC
    If you are on a *nix box with locate, that might be faster.

    But only if you search for files that existed the last time updatedb has been run. locate simply queries the database generated by updatedb. Depending on your system, updatedb runs from cron, or it has to be run manually. locate can't find files that did not exist while updatedb has run.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
Re^2: Finding files recursively
by Fletch (Bishop) on Aug 09, 2019 at 13:37 UTC

    Similarly mdfind -name foo for OS X (with the advantage that OS X's filesystem metadata DB is updated all but continuously).

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.