Page 1 of 1

I created a loop of subfolders. How can I prevent this.

PostPosted: Sat Apr 27, 2013 8:06 pm
by gbcosgrove
My goal was to take a whole mass of files that were located all over my computer and sort them into subfolders by year and month. Then, run a rule on the subfolders to sort the files into subfolders by kind. This seemed to work, until I realized that on a portion of these, it created a loop. So, the rule would go into the month folders and sort into subfolders by kind, and then go into those subfolders and sort into subfolders by kind again, and so on and so forth. So ended up looking something like this - 2012-10>JPEG>JPEG>JPEG>JPEG>JPEG>Jpeg File. I shut down hazel before it ran through all the files, so it only goes so far. Now, I'm having to manually resort these. My two questions are:

1. How can I use Hazel to fix this problem and get all the files back up to the first kind subfolder?
2. How can I prevent this in the future?

Thank you so much for your help.

Re: I created a loop of subfolders. How can I prevent this.

PostPosted: Sat Apr 27, 2013 8:17 pm
by a_freyer
(1) Probably easier to search for the files in Finder and just move them manually

(2) Use "Subfolder Depth" on your dive into subfolder rule.

Re: I created a loop of subfolders. How can I prevent this.

PostPosted: Sat Apr 27, 2013 9:24 pm
by gbcosgrove
Thanks. I will make sure to do that in the future.

Re: I created a loop of subfolders. How can I prevent this.

PostPosted: Mon Apr 29, 2013 11:56 am
by Mr_Noodle
You can also add a condition to filter out folders or folders matching the pattern of the folders being created.

Re: I created a loop of subfolders. How can I prevent this.

PostPosted: Sat May 11, 2013 11:46 am
by craw
gbcosgrove wrote:1. How can I use Hazel to fix this problem and get all the files back up to the first kind subfolder?


Not sure about hazel but to fix it you might want to take a look at using a smart folder, trigger on type of file and last modified. If you are lucky and can narrow them down it may show you just the files that you moved on that date in which case you can grab them onmass and drag them to where they should be.