間違い
for i in `find . -maxdepth 1 -type d`; ...