Subfolder issue but not about subfolder diving

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

Moderator: Mr_Noodle

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 !
young_yung
 
Posts: 6
Joined: Sat Nov 07, 2015 1:06 am

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.
Mr_Noodle
Site Admin
 
Posts: 11868
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

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 ?
young_yung
 
Posts: 6
Joined: Sat Nov 07, 2015 1:06 am

Access in what way?
Mr_Noodle
Site Admin
 
Posts: 11868
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

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 ?
young_yung
 
Posts: 6
Joined: Sat Nov 07, 2015 1:06 am

You can use any folder as the destination of the move/copy actions. Or are you referring to something else?
Mr_Noodle
Site Admin
 
Posts: 11868
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

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
young_yung
 
Posts: 6
Joined: Sat Nov 07, 2015 1:06 am


Return to Support