Thanks, Andre My MacOS shell call (and terminal) doesn't seem to recognize the 'tree command'
"no manual entry for tree" sqb On 4 October 2011 08:22, Andre Garzia <[email protected]> wrote: > Stephen, > > If you can afford to waste some performance and know what platform you are > using, then, you can build a two pass algorithm. > > The first pass just collect the file references, full path, one per line. > > Then you filter this for the extensions you need and after that you process > it as usual. > > If you are in mac os x, then you can use: > > set the defaultfolder to "parent folder" > put shell("tree -i -f") into theFileList > > This should work on Mac OS X and Linux but not on Windows. > > :-D > > On Tue, Oct 4, 2011 at 11:54 AM, stephen barncard < > [email protected]> wrote: > > > Funny that this comes up at this moment - I've been trying to work with a > > 'Directory Walker' recursive script (thanks Scott Rossi) and really can't > > make it very useful, I keep raising the recursionlimit to millions, but > it > > eventually will crash on more dense stacks. I included a visible counter > to > > keep track of iterations, but they only go into the thousands, not > millions > > > > This is using Scott's walker from 2002, and the only modification was a > > test > > for file suffix to get a list of certain files by file types. > > > > Mark, you say that there's a bug in the IDE that makes this worse? Does > > that > > mean 'walkers' work properly in a standalone? > > > > Another question is - is there another, non-recursive way to walk all > > folders? Some kind of two-pass method? Or is this just the way it is? > > > > On 4 October 2011 05:30, Andre Garzia <[email protected]> wrote: > > > > > http://docs.runrev.com/Property/recursionLimit > > > > > > > > > > -- > > > > > > > > Stephen Barncard > > San Francisco Ca. USA > > > > more about sqb <http://www.google.com/profiles/sbarncar> > > _______________________________________________ > > use-livecode mailing list > > [email protected] > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb <http://www.google.com/profiles/sbarncar> _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
