Page 1 of 1

A problem with moving folder using "run rules on folder ..."

PostPosted: Fri Apr 08, 2011 2:16 am
by Ekasimov
Hello. I have a problem: I use torrent client to download movies. When I run torrent file through torrent client it creates a folder in downloads which contains .jpg and .avi files. I need Hazel to move .jpg to image, .avi to movie, folder which included these files (which was created by torrent client) will be deleted.

Now I can move these files to folders, using rule "run rules on folder contents", but I can't move to trash the folder which included these files.

Please, help me!

Re: A problem with moving folder using "run rules on folder

PostPosted: Fri Apr 08, 2011 5:02 pm
by Mr_Noodle
Have another rule, probably before the rule to tell it to go into subfolders, to filter on empty folders and move those to the trash. Give that a shot and post back here.

Re: A problem with moving folder using "run rules on folder

PostPosted: Sat Apr 09, 2011 2:26 am
by Ekasimov
So, I got a couple way to solve that problem.

One way. We can follow your idea, first set a rule to filter empty folders: "Size is 0 bytes" > "Move files to Trash", then set a rule to go into subfolders: "Kind is folder" > "run rules on the folder contents".

Another way. First we set rule to move folders depending on date: "kind is folder" and "data added is not in the last 15 min" > "move files to trash", then set rule to go into subfolders: "Kind is folder" > "run rules on the folder contents".

I think there are more ways :)

Mr_Noodle, thanks for this product! :)