Could you use a module to generate an slist of ".svn directories with
lock files", and then iterate over that?


On Wed, Jun 27, 2012 at 03:29:04PM -0400, Ron Parker wrote:
>Looking back at these systems, I actually need to remove all .svn/lock
>files from anywhere they occur below the projects directory. So
>anything short of an "inf" recurse depth will be insufficient. But I
>still have the question of how to only pickup lock files inside .svn
>directories and nowhere else.
>
>On Wed, Jun 27, 2012 at 2:23 PM, Ron Parker <rdpar...@gmail.com> wrote:
>> Thanks for the response Neil,
>>
>> On Wed, Jun 27, 2012 at 12:05 PM,  neilwatson wrote:
>>
>>> What does the '.*' mean in your mind?  Can that be replaced with a 
>>> different recurse depth in  the depth_search?
>>
>> In this case the '.*' means all immediate sub-directories of the
>> projects directory which also contain a .svn subdirectory.
>>
>> I could use a different recurse depth, but if so how would I limit it
>> to lock files in the .svn subdirectories? I didn't see a way to build
>> a list of directories and then iterate over those to find a specific
>> file within them.
>>
>> --
>> Ron Parker
>> Don't type things you find on the Internet into your computer!
>> :(){ :|:&};:
>
>
>
>-- 
>--
>Ron Parker
>Don't type things you find on the Internet into your computer!
>:(){ :|:&};:
>_______________________________________________
>Help-cfengine mailing list
>Help-cfengine@cfengine.org
>https://cfengine.org/mailman/listinfo/help-cfengine

-- 
Jesse Becker
NHGRI Linux support (Digicon Contractor)
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to