How Can I Move All M4P Files from Subfolders Using Hazel?

Talk, speculate, discuss, pontificate. As long as it pertains to Hazel.

Moderators: Mr_Noodle, Moderators

Hi everyone,

I'm trying to organize my iTunes library by separating the .m4p files from the .m4a files. My goal is to have Hazel find all M4P files inside the iTunes folder and move them into a separate directory.

The part I'm struggling with is getting Hazel to search through all of the subfolders. I can point Hazel at the main iTunes directory, but I'm not sure how to configure the rule so that it recursively processes the folders underneath it and finds every .m4p file.

Is there a straightforward way to create a rule for this, or do I need an additional condition or action to make Hazel process the subfolders?

Any advice would be appreciated. Thanks!
neakremio1
 
Posts: 1
Joined: Mon Aug 10, 2026 9:47 pm

Look up subfolders in the manual. There's a chapter dedicated to the topic.

That said, it may not be a good idea modifying files under a folder that belongs to another app (iTunes) as it may corrupt things. I'd test things on a test folder to make sure it works as expected and make sure you keep backups.
Mr_Noodle
Site Admin
 
Posts: 12243
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Open Discussion