in reply to Checking Age of Files

  1. Get the list of the files in the directory.
  2. For each file in the directory.
    1. Compare their mtime with the current time.
    2. If the difference is greater than two hours,
      1. Note the file name
  3. If any file names were noted,
    1. Send an email