Re: [Gimp-docs] command "find"

Top Page

Reply to this message
Author: Kolbjørn Stuestøl
Date:  
To: Ulf-D. Ehlert
CC: gimp-docs
Subject: Re: [Gimp-docs] command "find"
Ulf-D. Ehlert skreiv:
> Kolbjørn Stuestøl (Dienstag, 25. März 2008, 21:54):
>
>> The command "find src *.xml | xargs grep -E 'xxx' > xxx.txt" in
>> Cygwin Thanks to Julien for the tip :-) . The command is very fast
>> and I therefore prefer to use it.
>> But how to exclude files from the listings? Something like: "Find and
>> list all "xyz" in all xml files in all folders except in the .svn
>> folders". Perhaps an unfulfillable wish? The help in Cygwin was of no
>> help to me in this question.
>> Kolbjørn
>>
>
> find src -name .svn -prune -o -name '*.xml' -print
>
> or (to exclude more than one directory)
>
> find src \( -name .svn -o -name foo \) -prune -o -name '*.xml' -print
>
> Ulf
>

Thank you a lot. I'll give it a try as soon as possible.
The more I learn, the more I know how little I know
Kolbjørn
> ------------------------------------------------------------------------
>
> _______________________________________________
> Gimp-docs mailing list
> Gimp-docs@???
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs
>



_______________________________________________
Gimp-docs mailing list
Gimp-docs@???
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs