[kwlug-disc] chown .* without traversing directories?

Ronald Barnes ron at ronaldbarnes.ca
Sat Dec 10 18:24:55 EST 2022


Paul Nijjar via kwlug-disc wrote on 2022-12-09 12:06:

> Does
> 
> find . -name '.*' -type f
> 
> list the files you want to change permissions for?

Yes, this is what I ended up using in fact.


But I kept thinking I was missing something obvious, but the clever 
responses to this thread have me re-assured that it wasn't something 
entirely obvious, just a bash quirk.



Thanks everyone, really interesting tips.

rb





More information about the kwlug-disc mailing list