Re: confusing behaviour of the * wildcard when handling "dot" files and dirs.



Rahul <nospam@xxxxxxxxxxxxxx> wrote:
I tried a 'chown -R foouser .*' [...and broke the parent directory...]
But then again: how does one tackle dirs of the sort .ssh/ .vim/ etc.?

chown -R foouser * .??*
or
find . -depth chown foouser {} \;

Chris
.



Relevant Pages