If PDF found,Move PDF file and then delete folder

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

Moderator: Mr_Noodle

I'm trying to create a simple rule where I move the PDF file , then delete the folder . The folder may or may not be empty.

I'm able to successfully move the file , run rule of folder content and then delete empty sub folders. It's the non empty which is troubling me.
pakiyabhai
 
Posts: 5
Joined: Wed Dec 28, 2016 1:14 am

How do you determine which folders to delete? The lack of a PDF file? If so, you can do something like:
Code: Select all
If (all) ar met
    If (all) are met for (all of its sub-files)
        Kind is PDF


To create the nested condition, see this article: https://www.noodlesoft.com/kb/how-to-cr ... onditions/

What the above does is match folders which contain no PDF files. You can tweak that to fit your situation as needed.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support