find & chmod
- Starting in current directory, find files or directories and change permissions
find . '(' -type f -exec chmod 644 {} ';' ')' \ -o '(' -type d -exec chmod 755 {} ';' ')'
find & replace
- Starting in current directory, find all files and replace ab with space
find . -type f -prin0 | xargs -0 sed -i 's/\/ /g'
- Another powerful solution is to install & learn rpl