Exclude files being written to (Handbrake)

I searched the forum and found a couple of topics from around 2010, but didn't find anything recent (and the old topics did not have a solution).
But - I'm using Handbrake to process media files, and the application can sometimes take several hours to complete processing. I've tried using the file modification date to create rules, but that doesn't seem to work. For example, I created the rule:
But even with the "Date Last Modified is not in the last 10 minutes" Hazel will still move the file before it has completed processing.
Does anyone have any tricks or suggestions to handle this situation?
Thanks in advance for any advice.
PS - I posted a feature request to the Handbrake Github suggesting they use a temporary file extension while the file is processing, and only change to a .m4v (for example) extension after the file is finished. That would make it much easier to write a rule in Hazel.
But - I'm using Handbrake to process media files, and the application can sometimes take several hours to complete processing. I've tried using the file modification date to create rules, but that doesn't seem to work. For example, I created the rule:
- Code: Select all
If all of the following conditions are met:
Kind is Movie (and)
Date Last Modified is not in the last 10 minutes
Do the following to the matched file or folder:
Move to the folder: Movies
But even with the "Date Last Modified is not in the last 10 minutes" Hazel will still move the file before it has completed processing.
Does anyone have any tricks or suggestions to handle this situation?
Thanks in advance for any advice.
PS - I posted a feature request to the Handbrake Github suggesting they use a temporary file extension while the file is processing, and only change to a .m4v (for example) extension after the file is finished. That would make it much easier to write a rule in Hazel.