そういえばfindコマンドって、検索結果のファイルに対して同じ処理を行うことができたなあと。 $ find ~/public_html -user "hoge" -exec chown apache {} \;