I'm trying to make a symlink to a directory if it exists only and cannot figure out how.
I tried various ideas I found and none worked.
Most notable idea that i thought would do the job was to use ln -s ls /path
to test the dir for ln
but it did not work or I'm not doing it right.
This is the basic symlink command I'm trying to condition.
ln -s ~/public_html/images ./images