[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trim directory to search?
From: |
Peng Yu |
Subject: |
Re: Trim directory to search? |
Date: |
Fri, 2 Aug 2013 17:11:20 -0500 |
> 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'?
--
Regards,
Peng
- Re: Trim directory to search?,
Peng Yu <=