Page 1 of 1

How to set up a rule to rename episode files

PostPosted: Mon Apr 21, 2025 11:04 pm
by janetmartinez
Hello,
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?
Thanks in advance!

Re: How to set up a rule to rename episode files

PostPosted: Tue Apr 22, 2025 10:04 am
by Mr_Noodle
Have you looked at match patterns in Hazel? Check the manual if you haven't.