Can Hazel Inherit Parent Folder Tags to Files Automatically?

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

Moderator: Mr_Noodle

Hi all,

I’m trying to create a Hazel rule where files inside a folder automatically inherit the tags of their parent folder.

Setup:
    A main folder with multiple project subfolders
    Each project folder already has Finder tags
    Files and subfolders are added inside each project
What I want:
    Automatically copy parent folder tags to all contained files/subfolders
    Work for both existing and newly added items
    Ideally without manually specifying each tag

I tried using conditions like “enclosing folder has tag” but couldn’t find a way to apply all parent tags dynamically.

Is this possible in Hazel, or would it require a script solution?

Thanks!
ronniemoon
 
Posts: 1
Joined: Mon Jun 08, 2026 10:39 pm

You can match all the tags and store them in a custom list attribute (not to be confused with custom list item attribute). Check the manual as it has an example for doing what you are asking.
Mr_Noodle
Site Admin
 
Posts: 12218
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support