[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trim directory to search?

From: James Youngman
Subject: Re: Trim directory to search?
Date: Tue, 6 Aug 2013 19:13:59 +0100

On Fri, Aug 2, 2013 at 11:11 PM, Peng Yu <address@hidden> wrote:
>> find .  \( -type d -exec test -e {}/.ignore \; -prune \) -o ....
>> will do something like what you want.   But, again, it's not
>> efficient, since it performs one fork/exec per subdirectory.   A more
> I think that given the current wide availability of multicore, if
> 'find' can take make a multithreaded approach the slow download caused
> by calling external programs can be minimize. May I suggest this
> feature be added to 'find'?

If you'd like to contribute it, we can look at including the feature.
 But we should pay attention to the ratio of usefulness to maintenance
burden.   In other words, features useful to only a small number of
people would need to be small, while a large code addition would need
to benefit a lot of users in order to be worthwhile.

Please don't misunderstand; this response is not "no" but instead
"what did you have in mind, specifically?"


reply via email to

[Prev in Thread] Current Thread [Next in Thread]