Newbie speed question
[1/2] from: kpeters::vu-ware::com at: 19-Apr-2005 14:19
Hi list ~
what is the most efficient way to achieve the following:
Create a list of files in a directory and save it to disk, where
the number of files is very high (~ 5.000) and only a handful of files
in that directory need to be excluded from this list (they have a different
extension)?
Thanks,
Kai
[2/2] from: greggirwin:mindspring at: 19-Apr-2005 17:03
Hi Kai,
KP> what is the most efficient way to achieve the following:
KP> Create a list of files in a directory and save it to disk, where
KP> the number of files is very high (~ 5.000) and only a handful of files
KP> in that directory need to be excluded from this list (they have a different KP> extension)?
Have you tried something like this (changing %. and %.r obviously :)?
remove-each file read %. [%.r = suffix? file]
-- Gregg