OK, sit back, this may take a while....
I've got a folder...let's call it, oh, Movie Rips.
Within that folder there some other folders. These folders are put there by a theoretically existing program that we'll call, ummm...MacTheRipper, say.
The folders within this folder are changing constantly, added, deleted, moved, etc., but they all have one thing in common: They contain a folder within them called "VIDEO_TS", with all caps and the underscore, and sometimes some other files and folders that I'm not interested in.
What I want to do is remove all the folders in these folders NOT named VIDEO_TS. As the names of these folders are obviously changing constantly, I want to do this with Hazel's Subfolder mechanism. There's a sticky here on the NS forum that's been a help, but I can't...quite...get it to do what I want yet.
After doing some experimentation, here's where I'm at now:
Rule Name: Set Up Subfolders
If All of the following are met for the File or Folder being matched:
Kind is Folder
Subfolder Depth is less than 1 {more on this in a bit]
Run rules on Folder Contents.
Followed by:
Rule Name: Action
If all...File Or Folder Being Matched
Name is Not VIDEO_TS
Set Color Label to Purple [eventually, this will be Move to Trash]
Under these rules, the only file or folder that actually gets colored Purple is an Alias file, at the top level of the Movie Rips folder.
If, in the Action Rule, I change the first entry to "Name Is VIDEO_TS", it works fine. This is the thing that makes me want to go swallow Drano.
The "Name Is Not" rule also works in a test folder I've been working with, another thing that makes me mournfully eye bridge abutments when I'm driving st high speeds, obsessing about this stuff.
The "Subfolder depth <1 rule" entry in the Set Up Subfolders rule is pretty suspect, but I was trying to get Hazel to stop at a certain level and address folder names, rather than entering the folders. As I said, it works when the rule is written to match the VIDEO_TS name, but not when the rule is to match any thing BUT that name.
Another thing that makes me load up my spare .44 Magnum: the "Name Is NOT VIDEO_TS" rule looks fine when using Hazel's Preview function.
Anyway, thanks for any help anyone can provide. I know Mr. Noodle lives to read through complicated customer issues when he could be out having a "life" of some kind. You readers who really love to hear folks like me complain can PM me, and I'll tell about you how the Lion upgrade messed up my Midi system somethin' awful. Don't get me started...
Oh, and TheOneTrueRobbCo in no way endorses any unlawful copying of DVDs from those scumbags at the hideous and evil NetFlix company. Because that would be just, just...wrong. Right? Don't do it, kids. And stay off drugs...