how to detect a file is stored in icloud?

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

how to detect a file is stored in icloud? Fri May 31, 2024 6:51 am • by JohnG
how could I detect a file is stored in icloud? (ie not stored locally).

Hazel appears to ignore files automatically "managed" into icloud. I don't need to download the immediately, but would like to apply some hazel actions as and when they are on the local disk.
JohnG
 
Posts: 4
Joined: Wed Oct 09, 2019 10:34 am

Re: how to detect a file is stored in icloud? Fri May 31, 2024 11:13 am • by Mr_Noodle
No way to do that currently except maybe through a script. Note that Hazel mostly requires files be local to process them as many conditions may hinge upon the metadata/contents being available locally.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: how to detect a file is stored in icloud? Sat Jun 08, 2024 5:36 am • by JohnG
it isn't possible to create a null test?

Hazel rules - are about the level I can stretch to.
I can tinker with pre-existing AppleScript, writing new has never yet been successful

Is there a success test?
e.g. tag a file if an action succeeded - but don't if it fails (ie is only on icloud)
I tried but couldn't work logic
JohnG
 
Posts: 4
Joined: Wed Oct 09, 2019 10:34 am

If an action is unsuccessful, Hazel will stop executing actions on that rule. So, any action coming after the action in question only happens if the previous action was successful.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: how to detect a file is stored in icloud? Sun Jul 28, 2024 7:17 am • by JohnG
Mr_Noodle wrote:If an action is unsuccessful, Hazel will stop executing actions on that rule. So, any action coming after the action in question only happens if the previous action was successful.


Thanks will try and create a "check contents" action and then "tag" <successful> or similar - which if I understand correctly will not occur if read failed
JohnG
 
Posts: 4
Joined: Wed Oct 09, 2019 10:34 am


Return to Support