How to remove all .htaccess files recursively
The following command recursively removes all .htaccess files from the current directory and all subdirectories:
Please note that the files are deleted directly and not moved to the trash bin, so consider making a backup!
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