如何递归删除所有 .htaccess 文件
以下命令递归删除当前目录及所有子目录中的所有 .htaccess 文件:
请注意文件会被直接删除而不会移到回收站,所以请考虑备份!
remove_htaccess.sh
find . -name ".htaccess" -exec rm -v {} \;Check out similar posts by category:
Linux
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow