Talk:Chown
If you do a chown group.user -R *
...then .dotfiles do not seem to get converted.
Is there a way to say "get the dot-files as well?"
...and if so, it should be in the page documentation.
-- LionKimbro
If bash interperted * as .* , it would get the . (current directory) and .. (parent directory) "files". That would be bad. To avoid this, if you want to work with .files (which are supposed to be hidden anyway), you could do something like .[A-Z,a-z,0-9] or some such, I'm not familar with the syntax there.
Also, please sign your posts with four tildes (~), this will automatically provide a link to your userpage and a timestamp. Crazyeddie 18:21, Aug 2, 2004 (EDT)
In bash, if you turn on the dotglob shell option, bash will include dot files (not . or ..) if they match your wildcard expression. To turn it on, type
$ shopt -s dotglob
--Snags 15:32, Aug 3, 2004 (EDT)
I found another way- if you name the directory explicitly that you want to recurse under, all the files are taken.
chown -R user.group .