'chown' and hidden directories

Net Llama! netllama
Thu Feb 17 14:27:22 PST 2005


On Thu, 17 Feb 2005, Michael Hipp wrote:
> How do you get chown to do hidden directories?
>
> If I have a directory tree with a bunch of stuff in it and I want to
> change the ownership of it all I thought to do:
>
>    chown -R michael: *
>
> But this does everything except hidden ".foo" directories. Is there some
> simple construct that will cause chown to hit all files and directories
> including hidden ones?

chown -R michael: .*

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman                        netllama at linux-sxs.org
LlamaLand				http://netllama.linux-sxs.org


More information about the Linux-users mailing list