Linux查找文件并对结果执行命令

find $dir -type f -exec chmod 0644 {} \;
find $dir -type d -exec chmod 0755 {} \;

发表评论

电子邮件地址不会被公开。

ERROR: si-captcha.php plugin: GD image support not detected in PHP!

Contact your web host and ask them to enable GD image support for PHP.

ERROR: si-captcha.php plugin: imagepng function not detected in PHP!

Contact your web host and ask them to enable imagepng for PHP.