I just realized that .[^.]*
will miss files that start with two
dots! But you probably don't have too many of those. .*[^.]*
is a little better, but will still miss files that consist of nothing
but dots (for example, 3 dots only). I can't think of anything that completely
meets your criterion.
CORRECTION: (albeit probably just an academic one!) You can cover all bases by using two globbing expressions:
CORRECTION2: Drat! The above will (potentially) list some files twice. For this (probably) totally academic excercise, lets see if the third time is the charm: