Mailing List Archive


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

Re: [tlug] using find



Use -prune.

    find . -name english -o -print

It skips every directory named english and under it.

Brett Robson wrote:

>Hi all,
>I have an annoying problem with find. I need to find all files under a
>directory but ignore one subdirectory and under it. This is because the
>English version of our site is in a sub directory of the main directory,
>picking up all the English pages is easy but not Japanese pages.
>  
>


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links