Find all directories that contain a period in their name and for each of them, print the name and then create a directory with the same name.
find -name '*/\.*/' | sed 's/.*/echo "\0"\; \&\& mkdir "\0"\;/' | sh