Print Friendly
Comments

Check a Folder or File(s)

Tests the size, last-modified date or archive bit of a file (or multiple files matching the same filespec) or the total size or last-modified date of an entire folder.

Task Parameters

Folder/File: The fully specified path of the folder (distinguished by a trailing backslash) or file (which may include the * or ? wildcards in the filename). May be entered from the keyboard or clipboard or, if connected to a local service instance, click the Folder or File captions to select from the file system on that machine.

Include Subdirectories: Causes the task to recurse folders below the targeted location and include this content in the evaluation (subject to matching the filename if specified).

Note that to be considered in an evaluation a file or folder must be visible to the Winserver Wingman service (typically running under the Local System account).

Alert Conditions

For a folder;

  • The folder was found.
  • The folder was found and; has a total size less-than/more-than or equal to {#} bytes/kilobytes/megabytes/gigabytes.
  • The folder was found and; was last modified on or less-than/more-than {#} seconds/minutes/hours/days ago.
  • The folder was not found.
  • The folder was not found or; has a total size less-than/more-than or equal to {#} bytes/kilobytes/megabytes/gigabytes.
  • The folder was not found or; was last modified on or less-than/more-than {#} seconds/minutes/hours/days ago.

For a file (or files);

  • The file was found.
  • The file was found and; any match (or the largest/smallest/oldest/newest) has a size less-than/more-than or equal to {#} bytes/kilobytes/megabytes/gigabytes.
  • The file was found and; any match (or the largest/smallest/oldest/newest) was last modified on or less-than/more-than {#} seconds/minutes/hours/days ago.
  • The file was found and; any match (or the largest/smallest/oldest/newest) has the archive bit set/unset.
  • The file was not found.
  • The file was not found or; any match (or the largest/smallest/oldest/newest) has a size less-than/more-than or equal to {#} bytes/kilobytes/megabytes/gigabytes.
  • The file was not found or; any match (or the largest/smallest/oldest/newest) was last modified on or less-than/more-than {#} seconds/minutes/hours/days ago.
  • The file was not found or; any match (or the largest/smallest/oldest/newest) has the archive bit set/unset.

1 September 2016