Searching for the issue, I found this Q&A:
How can I show only an .htaccess file in the Finder?
[…] you could create a symlink to the file in its directory, omitting the dot in the name:
- open Terminal, cd into your folder
ln -s $PWD/.htaccess $PWD/htaccess
Is there some kind of terminal batch to search for all .htaccess files inside a folder (i.e.: /public_html
) and apply the symlink?
Or would it be a combination of Automator and Terminal?
Best Answer
Change to the initial directory (
public_html
in the question) and runPS: I did some rudimentary testing but please make a backup before you run it anyway.