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 <revolut...@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 >switch > 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 >quoted > break > case „linux“ is in the platform > — todo > break > case „mac“ is in the platform > — todo > break >end switch >return shell(tShellCommand >—[snap] > >This returns for example: >C:\Users\Malte >Brill\Documents\archaeodox\2013-480\dokumentationsschritte\10\2013-480_ds_10_1.JPG >C:\Users\Malte >Brill\Documents\archaeodox\2013-480\dokumentationsschritte\10\2013-480_ds_10_2.JPG >C:\Users\Malte >Brill\Documents\archaeodox\2013-480\dokumentationsschritte\11\2013-480_ds_11_1.JPG >C:\Users\Malte >Brill\Documents\archaeodox\2013-480\dokumentationsschritte\11\2013-480_ds_11_2.JPG >C:\Users\Malte >Brill\Documents\archaeodox\2013-480\dokumentationsschritte\11\2013-480_ds_11_3.JPG >… > >where tpath was: >"C:\Users\Malte >Brill\Documents\archaeodox\2013-480\dokumentationsschritte“ > >Can anyone help me with the Linux and Mac counterparts. Ideally with >the same output? > >Best, > >Malte > > > > >-- >derbrill IT-service Malte Pfaff-Brill >Alsenstr. 15, d-24768 Rendsburg >Tel: +49 4331-337 640 0 >eMail: i...@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@lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode