I'm trying to change the rights of a number of directories. But some of the directories have spaces in the names. It's only about the directories, not about the files in them.
So far I came up with the next line:
chmod g+rw `find * -type d`
But I notice it cannot handle the dirs with spaces in the names.
How do I handle these dirs aswell?