User Tools

Site Tools


subfolder_count

subfolder count

  • < positive integer
  • = | != | > non-negative integer

Purpose

Counts the number of folders in a specified folder and warns when that count disagrees with the specification. This requirement is assessed non-recursively; only immediate subfolders of a specified folder are counted.

Notes

This requirement may be repeated in the same section.

Examples

[folder:"\\my-fileserver.ad.uillinois.edu\sharename\foo" "\\my-fileserver.ad.uillinois.edu\sharename\bar" "\\my-fileserver.ad.uillinois.edu\sharename\baz"]
# Each folder listed in the section must not have exactly 44 subfolders.
subfolder count != 44

Example output

Line 5: There are 2 folders which do not have exactly 44 subfolders:

Folder Subfolders
\\my-fileserver.ad.uillinois.edu\sharename\foo 6
\\my-fileserver.ad.uillinois.edu\sharename\baz 5
subfolder_count.txt ยท Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki