Hi Scott.
Yes, it looks doing what you expect.
Thomas

On 04/08/14 23:29, Scott Nolin wrote:
Hello,

Does the below rmdir policy do what I think it should:

Remove directories empty for more than 8 days, but *only* /foo/scratch/*/

Thanks,
Scott

-----------

rmdir_policy
{
    # Remove directories that have been empty for more than 8 days
    age_rm_empty_dirs   = 8d ;

    # don't remove, root, top level, or NOT in /foo/scratch
    ignore
    {
        owner == root
        or depth < 5
        or tree != /foo/scratch
    }

}



------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees


_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support

Reply via email to