Using Find with Shell on Mac

Sannyasin Brahmanathaswami brahma at hindu.org
Wed Aug 9 18:56:40 EDT 2017


I'm pretty much fed up with Spotlight.

On Linux apps I use Locate, which is really efficient.

but setting up and keep the locate dbase on mac is also frought with issues.  it will not index $Home

which is weird.

FIND is slower of course, but perfectly effective.

this:

find ~/ -iname *.livecode

from terminal get me *every* with .livecode in my user folder. in my UI's for locate I just get all the results into a var, then filter that var with strings and update the results field… works great, very fast.

But this, inside the msg box:

put "find ~/ -iname *.livecode" into tShell
put shell(tShell)


is only returning a single line:

/Users/Brahmanathaswami//OneDrive/_RevData/Books in Rev/HAP_Trilogy Reader Source/source/HAP_Trilogy-Reader1-1.livecode


Why don't we get all the results we do in terminal?


BR



More information about the use-livecode mailing list