Move containing folder to trash

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Move containing folder to trash 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
d32bus
 
Posts: 8
Joined: Wed Mar 26, 2014 11:21 am

Re: Move containing folder to trash 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.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Move containing folder to trash Thu Mar 27, 2014 3:40 pm • by d32bus
Ah, ok i'll give that a go. Cheers
d32bus
 
Posts: 8
Joined: Wed Mar 26, 2014 11:21 am

Re: Move containing folder to trash 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
d32bus
 
Posts: 8
Joined: Wed Mar 26, 2014 11:21 am

Re: Move containing folder to trash 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).
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Move containing folder to trash Sat Mar 29, 2014 6:31 pm • by d32bus
ok, i didn't know you could do that, thanks for your help..
d32bus
 
Posts: 8
Joined: Wed Mar 26, 2014 11:21 am


Return to Support