Delete folder when certain file is not preesnt

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

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
displaced_2000
 
Posts: 1
Joined: Fri Sep 06, 2024 9:13 am

Check out nested conditions. You can set conditions to match the files within a folder while the rule itself acts on the folder.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support