Jumping on this thread to keep iCloud Qs in one place.
I realise local files are what Hazel works with best, but I rely heavily on iCloud at the moment and I'm also having problems getting Hazel to stop deleting folders it recognises as empty before the contained files have downloaded locally (which happens automatically when connected to the internet, but variable how long the process will take).
My
Trash Empty Folders ruleset:
Kind is Folder
Size is 0 bytes
Sub-file/folder Count is 0
Move to folder Trash
As a workaround I've added a
sleep shell script as you suggested, but to accommodate different connections speeds I've set to 120 seconds which obviously isn't ideal.
Could Hazel ever get access to the
iCloud Status data of a file? I don't know why even the iCloud aliases don't have any 'weight' so Hazel can recognised them, but being able to add a condition like:
iCloud Status is Downloaded
…would solve my problem! Thanks Mr Noodle.