'chown' and hidden directories
Coppernix
coppernix
Fri Feb 18 10:42:44 PST 2005
find /directory -type d -maxdepth 1 -mindepth 1 -exec chown -R michael: {}
\;
--- Michael Hipp <Michael at hipp.com> a ?crit?:
> 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?
>
> Thanks,
> Michael
D?couvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Cr?ez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
More information about the Linux-users
mailing list