Page 1 of 1

Subfolders

PostPosted: Sun Mar 01, 2009 11:17 pm
by hankydysplasia
Hello.

I've been reading on the boards and consulting the help and I still seem unable to do what I want. I have a downloads folder that looks like this:

    Downloads
  • abc_TV
    • file1.avi
    • file1.sfv
  • abc_TV
    • file.avi
    • file.sfv

I want to take the *.avi files and move them to the Movies folder.

Here is my rule:
Code: Select all
If All are met...
Subfolder Depth is greater than 0
Kind is Movie

Do the following:
Run Rules on folder contents
Move File to folder Movies


There are no rule matches. I've tried lots of variations and it just doesn't seem to be working for me. (Change kind = movies to extension = avi; gotten rid of Subfolder Depth; gotten rid of run rules on folder contents; etc.) Everything else is working great.

Thanks for helping.
Tyler

Re: Subfolders

PostPosted: Thu Mar 05, 2009 11:51 am
by Mr_Noodle
I probably need to add a sticky article on subfolders.

The "Run rules on folder contents" only works on folders. In your rule, you are matching movies, not folders to the rule won't work. You should split it into two different rule.

If Kind is Folder, Run rules on folder contents
If Kind is Movie and Subfolder Depth is greater than 0, Move File to folder Movies

I think that should do what you want but post here if I'm missing something.

Re: Subfolders

PostPosted: Thu Mar 05, 2009 12:56 pm
by hankydysplasia
Thank you very much for the help.

I had read that you could only run it on it on folders, but for some reason, the way everything was worded, I didn't understand that that ended the rule. Every time I saw the rules written over places when you were helping I didn't realize that they were different. I'm sorry you have to keep answering the same question over and over.

I made another addition to the the rules you gave me:
If Kind is Folder, Name is not Movies -> Run rules on folder contents

I had the movies folder within the downloads folder and it was looping that the file was already in the destination. This fixed the problem.

Re: Subfolders

PostPosted: Thu Mar 05, 2009 4:15 pm
by Mr_Noodle
No problem. I posted a longer article about this so hopefully that will help. And yes, if you are creating folders in the same folder Hazel is monitoring, you have to put exclusions for it in the rule.

Re: Subfolders

PostPosted: Fri Mar 06, 2009 2:59 pm
by sjk
Mr_Noodle wrote:I posted a longer article about this so hopefully that will help.

Good article -- thanks!