Sort into Subfolders and put them into one specific folder

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

Moderator: Mr_Noodle

Hi Mr Noodle,

I got a difficult task I have a parent folder in which are some other folders nested . I want all subfolders that contain music files to stay in that order structure as it is but the subfolders which only contain empty folders should be sorted into one specific subfolder which is excluded from the rule set.

so that the folder which has the name empty (leer) contains all parent subfolders containing empty subfolders.

currently I did achieve all that only that the empty sub subfolders end up in the parent subfolder (empty /leer) which is not supposed to happen I hope you can help

by the way I tried "...name is not" already and it did not work
xandersaru
 
Posts: 5
Joined: Tue Feb 02, 2021 5:11 pm

I'm not sure if I follow. Can you post a specific example?
Mr_Noodle
Site Admin
 
Posts: 11868
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

when I get home I will post you a link to dropbox containing my ruleset and maybe a link with a picture to the folder construction. Maybe then you can see what I am trying to do, it's kind of hard to explain without seeing ;)
xandersaru
 
Posts: 5
Joined: Tue Feb 02, 2021 5:11 pm

Hi again, i postet a link to a pic of the folder structure and a link to my rule

I hope that can explain what i want to do.

my goal is to sort all empty parentfolders into parentsubfolder "!!!!!leer " but the empty subfolders in the parentsubfolder should stay where they are and the ones contain mp3s should stay untouched in parent folder

so parent folder is named 02 (this contains all folders)

sub layer1 contains a bunch of folders some are filled with mp3s, some are empty, and some contain other subfolders

Sub layer 2 should stay untouched

so all sorting is on sub layer 1 mp3 stays in parent 02 - all other in leer but don't touch sub layer 2




https://www.dropbox.com/s/7ue9j3e6gqisx42/besser%20.png?dl=0
https://www.dropbox.com/s/xbq6vxie8x0pwnv/02.hazelrules?dl=0
https://www.dropbox.com/s/gn825btxkml1m2t/leer%20sort.png?dl=0
xandersaru
 
Posts: 5
Joined: Tue Feb 02, 2021 5:11 pm


It looks like nothing is being sorted. That's because your rules are in the wrong order. Your second rule will never match because all folders are matched by the first rule. You need to either swap those rules or add a "Continue" action to the first one.
Mr_Noodle
Site Admin
 
Posts: 11868
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

well yeah but is the rest ok to achieve what I am looking for ? No it's not - right ?
xandersaru
 
Posts: 5
Joined: Tue Feb 02, 2021 5:11 pm

Did you try my suggestion?
Mr_Noodle
Site Admin
 
Posts: 11868
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support

cron