Page 1 of 1

How can I search for a filename ENDING with a certain char?

Posted: 05 Jul 2013 14:34
by MrAnalogy
I'm trying to find filenames ending with "_" .
I'm also trying to find filenames with "_" occurring anywhere BUT the end.

Using a pattern match (? *) works if that is the first char, but not if the last char.

E.g.,: searching for a* gets results but *a does not (even though there ARE filenames with /a/ occurring after the 1st char.

I'd prefer not to use RegExp (very rusty on that.)

Re: How can I search for a filename ENDING with a certain ch

Posted: 05 Jul 2013 14:51
by highend
I'm trying to find filenames ending with "_"
*_.*

You have to include the pattern for the extension as well.
I'm also trying to find filenames with "_" occurring anywhere BUT the end.
*_*.* & !*_.*
Boolean mode...

Ofc you run in trouble if your file names contain a dot^^

Re: How can I search for a filename ENDING with a certain ch

Posted: 06 Jul 2013 23:51
by MrAnalogy
Perfect. Thanks!