Trying to create a macro that will perform the following actions:
Search my entire Mac for files and folders with a specific tag.
Move the tagged items to a different folder of my choosing.
The only thing I see on KM related to tags in KM is "Set file attribute."
Can anyone help me get started? It would be much appreciated.
gglick
July 17, 2020, 3:20pm
2
You can read tags from the Get File Attribute action, so something like this should work for the tags and file part (replace placeholders with real paths and/or variables as appropriate):
Example Macro.kmmacros (2.2 KB)
bocciaman:
I don't even get this macro failed notification. Not sure why?
Try adding a notification action before each step. That way you'll know at least where it stopped.
1 Like
YA, that wasn't supposed to be there. LOL
and notification of failure was there.
I did figure out thast there was an easy solution for all of this - Hazel.
1 Like
Could you please post/upload your solution so that others can benefit.
Thanks.
Sure, but I'm not sure how since the solution isn't via Keyboard Maestro but I used a Hazel rule that said
Look in my for files and folder with < tags > that < Contain > Red Tag
Move
files to <.New Directory/folder >
2 Likes