Page 1 of 1

Move containing folder to trash

PostPosted: Wed Mar 26, 2014 11:23 am
by d32bus
Hi

Does anyone know how to move a containing folder to trash. I have Hazel look at my downloads folder and when i download a folder that contains a m4v it removes the m4v to another folder, but then how can i delete the folder that it came from?

Thanks in advance...

Rob

Re: Move containing folder to trash

PostPosted: Wed Mar 26, 2014 12:16 pm
by Mr_Noodle
You can set up another rule to move the folder. If it's empty, you can use Size or Subitem count. If there are other files, then you need to figure out what criteria would work, like the absence of a m4v file.

Re: Move containing folder to trash

PostPosted: Thu Mar 27, 2014 3:40 pm
by d32bus
Ah, ok i'll give that a go. Cheers

Re: Move containing folder to trash

PostPosted: Thu Mar 27, 2014 3:52 pm
by d32bus
How can I specify that an enclosed file does not have the extension of m4v? I can see that you can put "contents" does not contain but i can't specify the "contents extension"?

Cheers

Rob

Re: Move containing folder to trash

PostPosted: Fri Mar 28, 2014 2:52 pm
by Mr_Noodle
If you want to go that route, hold down option and click the + button to create a condition. This will end up creating a nested condition. There, you can specify "all of its subfiles" and underneath that you can do "extension is not m4v". What that ultimately means is match the folder if all of its subfiles do not have a m4v extension (or none of its subfiles have an m4v extension).

Re: Move containing folder to trash

PostPosted: Sat Mar 29, 2014 6:31 pm
by d32bus
ok, i didn't know you could do that, thanks for your help..