Move Synced Files Using Hazel


Recommended Posts

I'm trying to move synced folders/files using Hazel once they're fully complete.

 

I.e. If a folder or file gets synced, only when the sync for that folder/file is complete, will Hazel rules run to move the file/folder to another location.

 

I posted on the NoodleSoft forums here: http://www.noodlesoft.com/forums/viewtopic.php?f=4&t=3795

 

They suggested if a notification or other means of being notified of sync completion, then only run the Hazel rules after that.

 

Is there anyway to check (programatically) if syncs are complete?

Link to comment
Share on other sites

I use hazel frequently with my sync.  In my case, I am able to set the trigger on Hazel to look for the file extension (.mp4, .aac, .fmp12, whatever) because BitTorrent Sync moves things with a different extension and then sets it to the right extension when it's finished (seems like BTSync uses .!sync or something similar until the sync is actually finished.) anyway, take a look at the hazel rule triggers and poke around at the extensions in that's a viable option for what you are doing.

Link to comment
Share on other sites

I use hazel frequently with my sync.  In my case, I am able to set the trigger on Hazel to look for the file extension (.mp4, .aac, .fmp12, whatever) because BitTorrent Sync moves things with a different extension and then sets it to the right extension when it's finished (seems like BTSync uses .!sync or something similar until the sync is actually finished.) anyway, take a look at the hazel rule triggers and poke around at the extensions in that's a viable option for what you are doing.

 

That's a good idea for files, but with folders I don't think they get the .!sync added to the name.

 

I think i've cracked it by only moving the files once the date-modified is not in the past 5 minutes.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.