You can use a combination of find , xargs and sed : find ./ -type f -name "*.php" | xargs sed -i 's/\<oldfunction\>/newfunction/g'.
確定! 回上一頁