If you want add a .htaccess file into each subdirectory of a folder type:
#~ find /home/mydirectory/public_html/ -type d -exec sh -c ‘echo “allow from all” > {}/.htaccess’ \;
This code will create an .htaccess into each subdirectoty with content “allow from all”.

Tags: , , , ,

Leave a Reply

You must be logged in to post a comment.