A different take on directorywalking

Mike Doub mikedoub at gmail.com
Wed Nov 11 08:18:51 EST 2015

I think the issue you are going to run into is going to be the output format.  On both Mac and Linux you are going to be using the "ls -R" command. 

Do a search on unix ls command and you can see some example outputs in some of the articles. 

-= Mike 

On Nov 11, 2015, 7:54 AM, at 7:54 AM, Malte Brill <revolution at derbrill.de> wrote:
>Hi all,
>as the livecode solutions tend to become rather slow if there is a
>certain amount of nesting involved, I want to come up with a shell
>alternative to directorywalking. something like
>— [snip]
>set the hideconsoleWindows to true
>  case „win“ is in the platform
>    put "dir " & tPath && "/b /s /A-D" into tShellCommand
>— tPath needs to be a Windows path using backslashes and needs to be
>  break
>  case „linux“ is in the platform
>    — todo
>  break
>  case „mac“ is in the platform
>  — todo
>  break
>end switch
>return shell(tShellCommand
>This returns for example:
>where tpath was:
>Can anyone help me with the Linux and Mac counterparts. Ideally with
>the same output?
>derbrill IT-service Malte Pfaff-Brill
>Alsenstr. 15, d-24768 Rendsburg
>Tel: +49 4331-337 640 0
>eMail: info at derbrill.de web: http://www.derbrill.de
>Steuernummer: 28 015 03865 VAT ID: DE223571286
>Bankverbindung: BIC: GENODEF1KIL IBAN: DE87 2109 0007 0088 2849 05
>Kieler Volksbank e.G.
>Kontoinhaber Malte Pfaff-Brill
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:

More information about the use-livecode mailing list