A different take on directorywalking

Peter TB Brett peter.brett at livecode.com
Wed Nov 11 09:11:56 EST 2015


On 11/11/2015 13:40, Malte Brill wrote:
> Hi Mike,
>
> thanks for the reply!
>
> For the Mac I seem to be able to use:
>
> put "find -d tree“ && tPath &&  "-type f“ into tShellCommand
>
> For Windows of course I forgot to replace the backslashes with slashes.
>
> Not sure if find is available and has the same switches on Linux though…

I recommend:

     find -depth tree [tPath] type f

This is POSIX compliant and will work on both Linux and Mac.

                                       Peter

-- 
Dr Peter Brett <peter.brett at livecode.com>
LiveCode Open Source Team

LiveCode on reddit: https://reddit.com/r/livecode




More information about the use-livecode mailing list