find aaa/ -name "*.php" | xargs -i cp --parents {} /home/chan/
grep -rl 'aaa' /home | xargs sed -i 's/aaa/bbb/g'
find /home -type f -name "ok.txt" -exec rename 'ok.txt' 'OK.txt' {} ;
find /home -type d -name "ok" -exec rename 'ok' 'OK' {} ;
find aaa/ -name "*.php" | xargs -i cp --parents {} /home/chan/
grep -rl 'aaa' /home | xargs sed -i 's/aaa/bbb/g'
find /home -type f -name "ok.txt" -exec rename 'ok.txt' 'OK.txt' {} ;
find /home -type d -name "ok" -exec rename 'ok' 'OK' {} ;