snapraid-aio-script icon indicating copy to clipboard operation
snapraid-aio-script copied to clipboard

Add verbosity option 2: Include TOUCH and DIFF output in email (only) if no sync was run because of failed checks (deleted or updated files threshold has been reached or exceeded).

Open DonkeeeyKong opened this issue 6 months ago • 3 comments

Description

This adds the option to set VERBOSITY to 2. Setting this will send a mail with the full diff and touch output when the deleted or updated files threshold has been reached or exceeded and no sync was run because of that. It will trim the log in all other cases. This can be useful if you want to check the list of changed files before running a manual sync every time no automatic sync was run and don't want to bother checking the log via command line.

Type of change

  • [x] New feature (non-breaking change which adds functionality)
  • [ ] This change requires a documentation update (the maintainer will take care of this)

Checklist:

  • [x] I have performed a self-review of my own code
  • [x] I have commented my code (only required for new or big features)
  • [x] My changes generate no new warnings

DonkeeeyKong avatar Aug 06 '24 16:08 DonkeeeyKong