Page 1 of 1

Delete folder when certain file is not preesnt

PostPosted: Fri Sep 06, 2024 9:16 am
by displaced_2000
Hi,

I want to delete a folder when it does not contain a file.

The file in question could include a certain string in the name or have a certain tag. I'm not precious on that bit but what I'm struggling with is how to act on a folders then check the contents of the folder and then delete that folder all in one rule.

Welcome any suggestions

Re: Delete folder when certain file is not preesnt

PostPosted: Fri Sep 06, 2024 12:23 pm
by Mr_Noodle
Check out nested conditions. You can set conditions to match the files within a folder while the rule itself acts on the folder.