Page 1 of 1

move folder which contains mp3s to folder "music"

PostPosted: Thu Sep 02, 2010 2:23 am
by brockxtar
hey folks,
i'm new to HAZEL...and it would be cool, if anyone could make a step by step tutorial for me.
i need to move a folder which contains mp3s and maybe some jpgs to another folder called "music"...

i don't get it....
sorry!

Re: move folder which contains mp3s to folder "music"

PostPosted: Fri Sep 03, 2010 5:10 pm
by Mr_Noodle
Do you want to move the folders themselves or the files inside them? How are you determining whether the folder should be moved? It might help if you provide a concrete example of what you are trying to do.

Re: move folder which contains mp3s to folder "music"

PostPosted: Sat Sep 04, 2010 2:35 am
by brockxtar
it should always be the whole folder moved. for example i have an folder metallica - bla, with mp3s in it and this one should be moved to "music".

Re: move folder which contains mp3s to folder "music"

PostPosted: Tue Sep 07, 2010 5:01 am
by brockxtar
is there a solution?

Re: move folder which contains mp3s to folder "music"

PostPosted: Tue Sep 07, 2010 2:32 pm
by Mr_Noodle
So, you want to move folders that have mp3's in them? Check the sticky article at the top of this forum on how to get Hazel to go into the subfolders.

From there, create another rule to match the mp3 files themselves. Now, here's the tricky part. Use the script here: viewtopic.php?p=1545#p1545

What that does is tell Hazel to use the parent folder in subsequent actions in that rule. So, if you do a move action after that, it will move the parent folder and not the file itself.

Give that a shot and report back if you are having problems with specific parts.