help-cfengine
[Top][All Lists]
Advanced

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

Re: Creating (touching) files in a directory tree


From: Kurt Lieber
Subject: Re: Creating (touching) files in a directory tree
Date: Mon, 29 Dec 2003 14:17:59 -0500
User-agent: Mutt/1.5.5.1i

On Mon, Dec 29, 2003 at 10:43:02AM -0800 or thereabouts, Brian Landers wrote:
> My first shot at this was like so:
> 
> files:
> 
>     /home/ftp r=2 action=touch include=*/.empty
> 
> But nothing is getting created!  I'm sure I'm missing something
> simple, but I've smashed my head against the wall until it's squishy.

Your include statement is limiting your search criteria to directories that
already contain the .empty file.  It will never match a directory that
*doesn't* contain .empty

--kurt

Attachment: pgpQ4pGAhWXSP.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]