script to delete subfolder by name
Posted on 2014-01-19
Hi I have over 1000 movie folders, and in each is a folder named trailers. I am setting up streaming for my tv, and don't need the trailers folders. May I please have a script that will cycle thru the main folder called movies, and look inside each subfolder, then delete any folders called trailers. Here is structure sample
I would like the trailers folders and its content (trailer.avi) to be deleted. Thanks in advance.