Page 1 of 1

Subfolder depth -- doesn't work passed 0?

PostPosted: Mon Dec 27, 2021 6:04 pm
by gorilladunk
Image

Hello,

I have a folder structure like this:

Folder
-1
---a
---b
---c
-2
---d
---e
---f
-3
---g
---h
---i

where 1, 2, and 3 are directories, and a-i are images.

The rule I attached is on the directory called "folder", which contains 1,2, and 3. If I set subfolder depth to 0, it will delete images in "folder", but if I set subfolder depth to 1, it will not delete images in 1,2, or 3.

How can I make it delete images in 1,2, and 3? I think I'm misunderstanding how the subfolder depth trigger works.

Thanks :)

Re: Subfolder depth -- doesn't work passed 0?

PostPosted: Tue Dec 28, 2021 10:07 am
by Mr_Noodle
You need to add a rule to tell Hazel to go into subfolders. Check the manual as there's a whole chapter dedicated to that topic.

Re: Subfolder depth -- doesn't work passed 0?

PostPosted: Fri Dec 31, 2021 2:08 am
by gorilladunk
Mr_Noodle wrote:You need to add a rule to tell Hazel to go into subfolders. Check the manual as there's a whole chapter dedicated to that topic.


Ok, I see now. I need an entirely separate rule that just says "if kind is folder, run rules on folder contents". I've been adding "run rules on folder contents" to the rule I posted above and expecting results. I didn't pick that up from reading the man page the first time, thanks.