"Date Added is after Date Last Matched" issues

I have a script setup here that works perfectly most of the time, but every 3 months or so seems to get confused.
The point of this is that I have a big mirrored sync between a folder on my server and my local machine, It's hard for me to tell which of the folders have been sorted locally, so new additions copy to folder B, where I delete them as I sort them. This works perfectly fine most of the time, but every 3 months or so it starts copying folders that it's already matched before. If I left this alone long enough It seems it would copy the entire folder A to folder B, so I have to kill the 'hazelworker' process, update the 'specific date' and re-run the rules. I'm pretty sure this error is caused by power outages, which unmount the external drive where these folders are.
Any idea why this might be happening?
- Code: Select all
Folder A:
ignore syncthing
- if name contains 'syncthing',
do the following: ignore
only match once
- if date added is after specific date "3/6/2019, 6:54 pm
- if date added is after date last matched
do the following: copy to "/path/to/B" OPTIONS: if file exists, do not copy the file, do not copy a duplicate, copy folder structure from monitored folder
folder contents
- if kind is folder
do the following: run rules on folder contents.
The point of this is that I have a big mirrored sync between a folder on my server and my local machine, It's hard for me to tell which of the folders have been sorted locally, so new additions copy to folder B, where I delete them as I sort them. This works perfectly fine most of the time, but every 3 months or so it starts copying folders that it's already matched before. If I left this alone long enough It seems it would copy the entire folder A to folder B, so I have to kill the 'hazelworker' process, update the 'specific date' and re-run the rules. I'm pretty sure this error is caused by power outages, which unmount the external drive where these folders are.
Any idea why this might be happening?