I want to carry out some action (say
chown) on all the hidden files in a directory.
I know that this
.* is not a good idea because it will also find the current
. and parent
.. directories (I know that
rm will fail to operate on
.. but other commands, including
chmod, will happily take effect)
But all my hidden files have different names!
How should I glob for all hidden files while excluding