Page 1 of 1

Processing folders two levels deep

PostPosted: Mon Dec 13, 2021 6:28 pm
by drjct
Hello, I tried to figure this out on my own but to no avail; I want to know if this is something Hazel can even do or if I should find another method

I know I can run rules on files 1 level deep (as per https://www.noodlesoft.com/manual/hazel ... ubfolders/ and https://www.noodlesoft.com/kb/going-into-subfolders/

Here is my folder structure:

Code: Select all
FolderA/
├─ FolderA1/
│  ├─ data/
│  │  ├─ rawdata.csv
├─ FolderA2/
│  ├─ data/
│  │  ├─ rawdata2.csv


I want Hazel to watch FolderA but run rules on rawdata.csv and rawdata2.csv. Can Hazel do this? Thanks in advance for any advice.

Re: Processing folders two levels deep

PostPosted: Tue Dec 14, 2021 10:22 am
by Mr_Noodle
That chapter shows how to get Hazel to go as deep as possible. You need to add extra logic to limit it for that rule.

Re: Processing folders two levels deep

PostPosted: Tue Dec 14, 2021 8:53 pm
by drjct
Thanks for the tip! Splitting it up into multiple rules did the trick. Sorry for not reading the documentation as thoroughly as I should have :D