Trying to get my head around hazel
Based on a folder structure like this:
filea.pdf
fileb.jpg
folderx which contains files filex.pdf and filey.pdf
foldery which contains filez.jpg
Would like to move all pdf files to a seperate folder pdf, and all jpg files to a seperate folder jpg : that is easy
However : I would also like to move folders to a seperate folder based on what is in the folder : here folderx would move to folder pdf because it contains pdf files, foldery similar to folder jpg because it contains jpg.
Basically looking for a rule :
Kind is Folder
Folder contains files ending in PDF
Then
Move Folder to xxx
Any help would be appreciated