I need to link the contents of a folder to my public_html folder.
If I use the following command:
ln -s ~/site/web/* ~/public_html/
The files are linked successfully but it doesn't link any hidden files i.e: .htaccess
If I use the following code:
ln -s ~/site/web/ ~/public_html/
It links the contents folder rather than just the files but it does link the hidden files within that folder. So my output is i.e: public_html/web/file1.html etc when it should be public_html/web/file1.html