Can't get match pattern to work

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

Moderator: Mr_Noodle

Can't get match pattern to work Sat Mar 15, 2014 9:21 am • by timo
Hello Hazel users!

Love Hazel but I'm still exploring everything it can do for me. I've "discovered" match pattern, but I can't get it to work.

What I'm trying to do:
I have tv-show files (all named in the same pattern) that I want Hazel to file automatically in the appropriate folder and subfolder.
An example of such a file is:
Code: Select all
Hannibal - 02x03 - Hassun


This is the rule I have created to match and sort this file and others like it:
https://dl.dropboxusercontent.com/u/31629/-%3E%20Actie.hazelrules

Some screenshots:
https://dl.dropboxusercontent.com/u/31629/Screen%20Shot%202014-03-15%20at%2014.04.07.png
https://dl.dropboxusercontent.com/u/31629/Screen%20Shot%202014-03-15%20at%2014.04.17.png
Show = anything (...)
season number = number (123)
episode number = number (123)
episode name = anything (...)
https://dl.dropboxusercontent.com/u/31629/Screen%20Shot%202014-03-15%20at%2014.04.37.png
https://dl.dropboxusercontent.com/u/31629/Screen%20Shot%202014-03-15%20at%2014.05.15.png

I have no idea why it's not working. I've even paused my troubleshooting for half a day and looked at it with "fresh eyes" but I can't figure it out. I have a feeling it's something obvious but I couldn't tell you what...

Is there anyone, who uses match pattern themselves, that can tell me what I'm doing wrong here? I'd be very grateful.
timo
 
Posts: 2
Joined: Sat Mar 15, 2014 8:47 am

Re: Can't get match pattern to work Sat Mar 15, 2014 11:19 am • by timo
I have found the problem.

Incase someone else is having the same/similar issue:

When you match the name of a file, keep in mind that the name is the base name.
I thought the name of file consisted of the base name.extension. Therefore I added a ".anything (...)" pattern at the end of the name to match the extension. But since the name is the base name (no extension) I couldn't get a match on the filename. All is well now.
timo
 
Posts: 2
Joined: Sat Mar 15, 2014 8:47 am

Re: Can't get match pattern to work Mon Apr 21, 2014 3:08 am • by elgallo
can you post a screenshot of the current (working) rule?
elgallo
 
Posts: 17
Joined: Sat Apr 19, 2014 7:41 am


Return to Support