I have two directories on a virtual machine. One of them is my home/user directory, the other is the /var/www/html folder which renders the public website.
Every time I upload files for my web app to my user directory, I then have to
sudo cp them to the protected html folder. I was wondering whether a symlink would streamline this process by automatically putting the files in the html folder if I associated it with my user directory folder. Is this what symlinks do? Can they place files from one directory into another even if its protected?