Using Sync with Subfolders and Color Labels

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

Moderator: Mr_Noodle

Using Sync with Subfolders and Color Labels Sat Jul 09, 2016 8:30 am • by Gidsey
Hi,
I am a new Hazel user and would appreciate help in refining a set of rules.

The scenario is that I wish to scan a folder, and all its subfolders and then create a copy all the JPEG Images that do NOT have a RED color label.

I'm currently using 2 actions to achieve this:

Image

Image

This is working fine - to a point. However if after the rule has run for the first time I add a RED color label to an image in the source folder it is not then removed from the destination folder (which is what I would like).

Surprisingly however it does work the other way (i.e. if I remove a RED color label from an image in the source folder it is immediately added to the destination folder).

Is there another step that I can add to ensure that any images that are subsequently labeled RED are removed from the destination folder?

Any help appreciated!
Gidsey
 
Posts: 3
Joined: Sat Jul 09, 2016 8:07 am

Do you want the file removed or just the color label?
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Mr_Noodle wrote:Do you want the file removed or just the color label?


I want to remove the file.
Gidsey
 
Posts: 3
Joined: Sat Jul 09, 2016 8:07 am

Not really doable at the moment as sync doesn't really allow you to choose which files in a folder get synced. You'll probably needs to write a script to handle that type of thing.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

OK, thanks for the reply. A couple of questions:

When you say it's not doable 'at the moment' - does that mean there are plans to add this functionality to the sync feature in the future?

A with regard to writing a script, can I just clarify you mean using Applescript?

Thanks,
Chris
Gidsey
 
Posts: 3
Joined: Sat Jul 09, 2016 8:07 am

Just means you can't do it now, without any notion of whether such a thing is in the works or not. I will take this as a vote in favor of such a feature but can't say much beyond the fact that it would require a good deal of work and it hasn't been requested much.

AppleScript, JavaScript or shellscript.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support