14Dec/091
recursively chmod only subdirectories
When I use Betterzip to uncompress a directory tree, it chmods the dirs with 700. Here's the command to solve this:
find . -type d | xargs chmod 755
It finds all subdirectories and chmod'em to 755. Clever, isn't it?
June 7th, 2010 - 11:10
Thanks, you got me started in the right direction at least, but it didn’t work so good for me, I had lots of spaces in directories so had to use the following…
find . -type d -exec chmod 755 ‘{}’ \;