help-cfengine
[Top][All Lists]
Advanced

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

Re: Recurse dirs w/tidy


From: Ryan Anderson
Subject: Re: Recurse dirs w/tidy
Date: Mon, 10 Feb 2003 12:44:54 -0600

Yup, that did it.

RCA
--
Ryan C. Anderson
Unix Administrator
United Defense L.P.
desk   763.572.6684
pager  952.235.9936
mobile 612.419.9362

>>> Andrew Stribblehill <a.d.stribblehill@durham.ac.uk> 02/10/03
11:04AM >>>
Quoting Ryan Anderson <Ryan.Anderson@udlp.com> (2003-02-10 04:28:16
GMT):
> I'm trying to do the equivilent of 'rm -rf /var/netscape' with tidy
and
> it works if there is a single directory, but it does not recurse
through
> multiple directories as I desire. Here's my code:
> 
> ==============
> tidy:
> 
>     irix|irix64::
>         /var                        pat=netscape r=inf age=0
> rmdirs=true
> 
> ==============
> 
> Am I missing something?

This will only delete things that are called netscape. Try:

tidy:
        irix|irix64::
                /var/netscape pat=* r=inf age=0 rmdirs=true
                /var pat=netscape age=0 rmdirs=true

The last line may be unnecessary.

-- 
FORTH TYNE DOGGER
SOUTH OR SOUTHEAST 5 OR 6, OCCASIONALLY 7, VEERING WEST 4 OR 5
LATER. OCCASIONAL RAIN. MODERATE OR GOOD




reply via email to

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