tagging source folder and document container

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

Moderator: Mr_Noodle

Sorry if this is answered elsewhere here--I've crawled through the threads and couldn't find what I'm looking for.

I'm new to Hazel and am trying to have it do two things:

1) tag all the subfolders (regardless of depth) in Folder A with the "source folder" (i.e. "Folder A")

While I've gotten Hazel to tag the source folder (i.e. "Folder A") up to three subfolders down, it won't tag any folder lower than this.

Here is the rule that I set up for this:

If ALL of the following conditions are met:
KIND IS FOLDER
Do the following to the matched file or folder:
ADD TAGS SOURCE FOLDER.

2) tag all everything within Folder A (i.e. subfolders and files) with the name of the subfolder enclosing it.

Hazel does not apply the rule that I set for this, which is:

If ALL of the following conditions are met:
ANY FILE
Do the following to the matched file or folder:
ADD TAGS DOCUMENT CONTAINER.

Can anyone help me with this one? Thanks!



Also, it won't tag any of the document containers for the subfolders and files.
spinozist
 
Posts: 1
Joined: Sat Aug 16, 2014 6:46 pm

Read the sticky article at the top of the forum. It tells you how to go into subfolders.

To do #2, you can do something like:
Code: Select all
    If (all) match
        If (all) match for (the enclosing folder)
            Name matches (• enclosing name)
    Add tag (* enclosing folder name tag)


To get the nested condition, hold down option key while clicking the + button to create a new condition. For the other stuff, read the help on "match patterns".
Mr_Noodle
Site Admin
 
Posts: 11866
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support