It makes sense to do something if a file exists or not (you can do that now), and likewise if a file is of zero-size or not (not currently possible, but a non-existent file should also have zero size), so it seems logical to also do something based on a file's size (i.e., /foo/baz is bigger than /foo/gar).
I'd opine that a minimum, a check for non-zero size is valuable. And since it can be easily done with a commands promise, it seems reasonable to me to add that info inside Cfengine. Just my personal opinion :-) -Dan On Nov 1, 2010, at 12:42 PM, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: Re: Feature Request > Author: neilhwatson > Link to topic: https://cfengine.com/forum/read.php?3,18989,18992#msg-18992 > > Can you share with us a practical example of why returning file size might be > useful? I can't think of one myself. > > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengine _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine