Need to hide a symbolic link without hiding the directory it links to

Solution 1:

SetFile -P -a V filename

The '-P' flag will make it operate on the symlink and not what it points to. The '-a V' portion will turn on the invisible attribute to hide it in the Finder.

Solution 2:

You can also use chflags -h to not follow symlinks:

chflags -h hidden /path/to/symlink