I know there are a lot of things like this around, but either they don\'t work recursively or they are huge.
This is what I got:
find . -name \"*.so\
if you have Bash 4
#!/bin/bash shopt -s globstar shopt -s nullglob for file in /path/**/*.so do echo mv "$file" "${file/%.so}.dylib" done