Page 1 of 1

moving folders depending on where they are stored

PostPosted: Sat Jun 04, 2016 1:21 pm
by they_fit
Ok i dunno if the titles makes sense, but hear me out:

I have Hazel looking for unused projects, archive them and move them. The structure of where it looks is as follows:

MUSIC > ARTIST 1,2,3,4,5 > PROJECT 1,2,3,4,5

So it scans the whole MUSIC folder and, say, if "artist 3 > project 1" is old, it runs the rules. But having multiple artists and just 1 folder to move them into gets a bit confusing (the project names don't always have the artist in the title). So what I thought was this:

make empty subfolders in the folder where everything gets copied to with the artist names (ARTIST 1,2,3,4,5). But that would mean me having to create these rules for every artist, which is a bit of a hassle since its not actually just 5. What I would like to have/do is that Hazel runs the rules and looks at the parent directory (say artist 3) and move it to the other folder with the same artist name.

Does this make sense? If so, how can I achieve this?

Re: moving folders depending on where they are stored

PostPosted: Mon Jun 06, 2016 10:50 am
by Mr_Noodle
If you want the same folder structure at the destination, then in the Move action, click the options button. There's an option there to copy the folder structure. Set that to do it from the monitored folder and I believe that should do what you want.

Re: moving folders depending on where they are stored

PostPosted: Tue Jun 07, 2016 1:33 pm
by they_fit
thanks, that does the trick! I assume that if the monitored folder name already exists it just moves it to that folder?

Re: moving folders depending on where they are stored

PostPosted: Tue Jun 07, 2016 2:52 pm
by Mr_Noodle
Yes, it will use existing folders but create them if they don't.