Page 1 of 1

File in Use

PostPosted: Thu Sep 23, 2021 12:29 pm
by mrtoner
I'm mounting an external device over the network with Mountain Duck; the device is recording a livestreamed video. When the video is done, I want it transferred to an external HDD/SSD.

I have the rule down to do this, but I've found that I need to include a condition to wait until a while after the recording is expected to be done (currently 24 hours), otherwise Mountain Duck gets wonky. I'd like to have the process start earlier and it seems that a "file (not) in use" condition would be useful; however, I'm not finding that.

Am I missing this condition — or is Hazel?

Re: File in Use

PostPosted: Fri Sep 24, 2021 9:18 am
by Mr_Noodle
Main problem is that Mountain Duck is not using the proper file locking primitives Hazel uses to detect if a file is in use. To work around that, you can try a condition like "Date modified is not in the last X minutes/hours" to wait a bit after the last time it was written to.