Page 1 of 1

Concatenating Subfolder Names - Exclude Monitored Folder

PostPosted: Fri Jul 26, 2024 12:19 pm
by jellybones83
First off - I am 2 days into using the tool, really like it, felt like I was starting to get the hang of it and been running lots of tests to make sure I know what the behavior will be before unleashing it on 2TB of data.

I am trying to build a rule to look at my external drives where I have dropped copies of folders taken off various work machines in the past, and I am trying to find a way to take nested folders and give the new folders names "SubFolder 3 - Subfolder 2" and then copy them to a new location.

Rules are:

Image

Image

Example Folder Path: /Users/[User]/Desktop/Hazel Test Folder/CitiGroup/Personal Files

Expected Output: /Users/[User]/Desktop/Personal/Personal Files - CitiGroup/

Actual Output: /Users/[User]/Desktop/Personal/CitiGroup - Hazel Test Folder/Personal Files

What am I missing here?

Re: Concatenating Subfolder Names - Exclude Monitored Folder

PostPosted: Mon Jul 29, 2024 8:40 am
by Mr_Noodle
A few issues with your rules:

- Your second rule will never match because your first rule will match everything that would match your second rule. You will need to re-order them.
- It doesn't matter because your second rule doesn't make sense in that you are telling Hazel to go into a folder with the word "personal" in it, but only if it's is deeper than 1 level. Problem is, Hazel will never get there because there is no rule to let Hazel go into folders at the top level or one level deep. It's like you are telling Hazel to go into the bathroom but never told it to go into the house in the first place.
- What folder is Hazel monitoring? It looks like it is matching the Hazel Test Folder folder and not Citigroup as you want.