It's diving into the folder that is needed and doing an action on that folder.
My problem was: everytime there is the YTS.jpg file if I download a torrent and I was really irritated that I would always have to delete them all by myself. Always.
So I wondered if Hazel could do it?!.
I went with this code first:
Then this code:
Last but not least:
no.1: So literally, Hazel looks for purple tagged folders and goes into those folders. when all rules have been done on purple tagged folder "removes purple tag on the folder"
-if none is purple then it skips it.
-if it is purple then no.2(below) runs.
no.2 runs rules on folders: delete the file that contains file name: "www.yts.to" "
The last code: Goes into each folder and if it finds "www.yts.to" contains in a file name. it marks the folder purple.
So I am wondering what do people think? it this a Hazel breakthrough?
