[darcs-users] a bash tip for easily excluding the _darcs directory

Ralph Corderoy ralph at inputplus.co.uk
Wed Mar 9 10:45:41 UTC 2005

Hi Nimrod,

> near the bottom. I also added some hints on how to grep in nested
> repositories.
> find . \( -path './_darcs' -o -path './subrepo/_darcs' \) -prune -o
> -exec grep string {} ';'
> which was what I had to use one time.

Please consider suggesting xargs(1) since it saves many invocations of

    find . \( -path ./_darcs -o -path ./subrepo/_darcs \) -prune -o \
        -print |
    xargs grep string /dev/null



More information about the darcs-users mailing list