Delete subfolders and contents?

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

Moderator: Mr_Noodle

Delete subfolders and contents? Sat Mar 09, 2013 12:47 pm • by Stooovie
Hi!

I'd like to use Hazel to purge temp files from my media production apps. I have a Temp folder with subfolders for various apps:

-TEMP
---Premiere
-------file1 // DELETE THIS
-------File2 // DELETE THIS
-------File3 // DELETE THIS
---After Effects // NOT THIS
------Adobe After Effect Disk Preview // DELETE THIS
---Media Cache //NOT THIS
---Bridge
-----256 // DELETE THIS
-----data // DELETE THIS


I'd like Hazel to delete subfolders and their contents, but not the first level subfolders themselves. I tried tinkering with subfolder depth, but to no avail.

How would I do this? Thanks!
Stooovie
 
Posts: 8
Joined: Sat Mar 09, 2013 12:41 pm

Re: Delete subfolders and contents? Mon Mar 11, 2013 12:07 pm • by Mr_Noodle
Please only post tips in the Tips forum. Questions go here (there's a sticky article at the top of the Tips forum indicating this).

I assume you read the article on going into subfolders (it's a sticky post at the top of this forum)? If not, read that. You basically need to use that while also specifying the subfolder depth. Note that the top level is depth 0.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support