Find all files with a ".sh" extension that are larger than 100MB and replace all occurrences of "oldstring" with "newstring" in each file.
find ~ -path "*.sh" -size +100M -exec sed -i 's/oldstring/newstring/g' {} \;