Merge the content of multiple .htaccess files in one

The script will search the current directory for all htaccess files and will combine in a single text file. find . -name ‘.htaccess’ -exec echo “### START Imported from”.{}.”###” \; -exec cat {} \; -exec echo “#### END Imported from “.{}.”###” \; -exec echo”” \; >> all-htaccess.txt