Page 1 of 1

How to exclude certain subfolders and files from processing?

PostPosted: Fri Apr 15, 2016 8:16 am
by WorkflowsGuy
I have the following directory structure:

Code: Select all
Podcasts
    Podcast 1
       Backlog
       Archive
    Podcast 2
       Backlog
       Archive
    ...
    Podcast n
       Backlog
       Archive

I would like to process the files in all the "Podcast 1, 2,.." folders and their respective "Backlog" folders, but ignore the "Archive" folders and their files.

I have read the sticky about going into the subfolders, but I cannot figure out how to set up the rules to ignore the "Archive" folders. A separate rule to ignore all folders named "Archive" (the first after "Run rules on subfolders") seems to have no effect.

I would be grateful if someone could point me in the right direction.

Re: How to exclude certain subfolders and files from process

PostPosted: Fri Apr 15, 2016 9:51 am
by Mr_Noodle
Adding "Name is not Archive" to the subfolder rule should help. If you want to go the route of using your ignore rule, you need to put it before the subfolder rule, not after.

Re: How to exclude certain subfolders and files from process

PostPosted: Fri Apr 15, 2016 12:27 pm
by WorkflowsGuy
Thank you Mr. Noodle. I have finally got it working.

For the benefit of others who might come across such a problem, here is my working rule:
Code: Select all
For folder "Podcasts"

Rule 1:
If all of the following conditions are met
    Kind is Folder

Run rules on folder contents

Rule 2:
If all of the following conditions are met
    If all of the following conditions are met for: its enclosing folder
        Name is not "Archive"
    Kind is Document
    Extension is "mp3"

Move to folder "Temp"