Page 1 of 1

Subfolder issue but not about subfolder diving

PostPosted: Sat Nov 07, 2015 1:16 am
by young_yung
I've gotten the concept of subfolder diving and it's great, really, thank you. Now. what i want to do is the following:

I have a folder, which we will call 'A', which is the folder that Hazel is being run on, full of folders with subfolders.
I want Hazel to search through to the subfolders of folder 'B', which is any folder in A.


As "folder dive" as my top rule, i am trying to find folders in A that contain type .filetypex, i then want to take the highest parent folder and move it to some other folder 'F'

im going to try and make it make sense below.
Code: Select all
-A
   --B
      --subfolder1
      --subfolder2
         --subsubfolder
            -- somefile.filetypex
      --subfolder3

now, F contains 'B' and is moved out of A

Code: Select all
-F
   --B
      --subfolder1
      --subfolder2
         --subsubfolder
            -- somefile.filetypex
      --subfolder3

can someone please help me achieve this ? I can further explain any nonsensical terms. Thanks !

Re: Subfolder issue but not about subfolder diving

PostPosted: Mon Nov 09, 2015 11:54 am
by Mr_Noodle
Hold down option while clicking the + button to create a new condition. That will create a nested condition. There, you can specify that the rules underneath it match the files in the folder, so you can add a conditio to match the filetypex files there. What this ends up doing is matching a folder based on the files within it. Give that a shot.

Re: Subfolder issue but not about subfolder diving

PostPosted: Mon Nov 09, 2015 4:24 pm
by young_yung
Mr_Noodle wrote:Hold down option while clicking the + button to create a new condition. That will create a nested condition. There, you can specify that the rules underneath it match the files in the folder, so you can add a conditio to match the filetypex files there. What this ends up doing is matching a folder based on the files within it. Give that a shot.


Before i try this, can Hazel access folders outside of the folder being processed ?

Re: Subfolder issue but not about subfolder diving

PostPosted: Tue Nov 10, 2015 12:05 pm
by Mr_Noodle
Access in what way?

Re: Subfolder issue but not about subfolder diving

PostPosted: Tue Nov 10, 2015 3:20 pm
by young_yung
Mr_Noodle wrote:Access in what way?


As in put files/folders into it. I know all of the rules are being ran on the default folder but can Hazel use folders outside of the scope of the folder it is being ran on as dump directories ?

Re: Subfolder issue but not about subfolder diving

PostPosted: Tue Nov 10, 2015 5:27 pm
by Mr_Noodle
You can use any folder as the destination of the move/copy actions. Or are you referring to something else?

Re: Subfolder issue but not about subfolder diving

PostPosted: Tue Nov 10, 2015 5:46 pm
by young_yung
Mr_Noodle wrote:You can use any folder as the destination of the move/copy actions. Or are you referring to something else?

No, that's it ! Thanks. I'll report back with my results when i test them.

Thank you so much