New to Hazel, is it possible to do what I need?

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

Moderators: Mr_Noodle, Moderators

Hi everyone, sorry if this isn't the best place for this! I'm new to hazel and I'm trying to set up a rule to rename episode files. I'd like to change this:
[show name] - 123 - [episode name].ext
to this:
[show name] - S01E23 [episode name].ext
but the number in the filename is not always 123 obviously. I could do this with a few rounds of regex manually in a file renaming tool I have, but that would defeat the purpose of automating.
is this possible with Hazel itself or would I need some sort of secondary script in the action? I'm unfamiliar with apple or shell scripts, and automator is finicky trying to get this to work in my experience, so i'm not sure how i'd proceed.
thank you for your help!
BabyDibbert
 
Posts: 1
Joined: Thu Jul 10, 2025 12:47 am

Look up "match patterns" in the manual.
Mr_Noodle
Site Admin
 
Posts: 11945
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Open Discussion