Hazel and Dropbox Conflicted Files

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

Moderator: Mr_Noodle

Hazel and Dropbox Conflicted Files Thu Apr 12, 2012 4:07 pm • by alex
Hi,

I'm trying to figure out if I can get Hazel to help with triggering an alert if there are conflicted files in the Dropbox folder.

I currently have a bit more than 3.5G of files in the Dropbox folder (with many level deep folders). I'm thinking that asking Hazel to watch live the Dropbox folder might be overkill. So I was thinking instead to combine it with my previous approach:

1. I have a cron job that scans the Dropbox folder for conflicted files
2. if there are any found conflicted files a mail is automatically created (in /var/mail/alex)

If I'd be able to configure Hazel to watch the /var/mail folder, then

1. I'd set a condition for the file name
2. I'd use a script condition to validate there's indeed an email (mail -e)
3. I could display a Growl notification as an alert

But so far I haven't been able to figure out how to make Hazel see the /var/mail folder.

Any help, ideas, suggestions are welcome!

A://
alex
 
Posts: 10
Joined: Mon Sep 12, 2011 3:49 pm

Re: Hazel and Dropbox Conflicted Files Mon Apr 16, 2012 11:49 am • by Mr_Noodle
You could use Hazel to scan for the conflicted files instead of cron. You can now schedule rules so it be equivalent to using cron, but with the ability to do it all in Hazel. You would probably need Hazel to go into subfolders as well, in which case, read the sticky article at the top of the forum.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Hazel and Dropbox Conflicted Files Wed Jul 03, 2013 12:01 pm • by spaceship
This works well, except for conflicts inside certain "documents". How do I get Hazel to recurse into bundles?
spaceship
 
Posts: 10
Joined: Fri Jan 11, 2013 12:18 pm

Re: Hazel and Dropbox Conflicted Files Wed Jul 03, 2013 12:55 pm • by Mr_Noodle
You can't by design. Hazel will not go into bundles as that would risk corrupting data. I suggest using a script if you really need to do something like this.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support