Forum: CFEngine Help
Subject: garbage collection - not deleting all files
Author: hristob
Link to topic: https://cfengine.com/forum/read.php?3,23905,23905#msg-23905

Hi,
I'm using following sample:

bundle agent garbage_collection
{
files:

  "$(sys.workdir)/outputs"

    delete => tidy,
    file_select => days_old("3"),
    depth_search => recurse("inf");


}

The problem is that it erases the files more than 3 days old, but only from 
current year. I still have files from last year in that folder.

Is that a bug or feature?

_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to