Run-script-after and no files backed-up

Hi,

I am happy user of Duplicati 2.0.2.18_canary on several Windows machines. I also developed litter run-script-after script that emails me list of changed files, see Email list of backed up files. There is a little problem though - when there are no new/changed files to backup, no new revision is created and I want to detected this in my script. Currently I get email with differences between last two versions. Is there a way within the run-script-after to test whether new revision was actually created?

Thank you for your support.

Kind regards, Jan

Hello… Unfortunately, you have to check this in script. I had same question before: Can I know in --run-script-after script: was any changed, added or deleted files?

If you like Powershell, I can post a script later if you want.

Thank you, I adapted the batch script you linked.