Extensions in the future? (very small request)

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

Moderators: Mr_Noodle, Moderators

In writing rules that apply to files with two extensions:

tar.gz or sql.gz

i notice that i have to remove the first part of the extension, and use a rename '.sql' inbetween.

it would be great if hazel could recognize the possibility of a double extension!

just an idea.

awesome software!
pensive612
 
Posts: 4
Joined: Thu Oct 11, 2007 9:09 pm

Sun Oct 14, 2007 12:51 pm • by Mr_Noodle
It's something I've considered but it's sometimes hard to tell what is an extension and what is not. For instance, version numbers (which have dots in them) sometimes get confused as extensions.

For now, to match against a double extension, you could use the "Full Name" attribute. It is basically the name plus extension together so you could do "Full Name ends with tar.gz" or something like that.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Sun Oct 14, 2007 4:05 pm • by pensive612
I totally understand the predicament. I will use full name for now...

thanks for the great sofware!
pensive612
 
Posts: 4
Joined: Thu Oct 11, 2007 9:09 pm


Return to Open Discussion