FG

How to change a symlink in OS X?

Fresh3 days ago
Mar 15, 202654702 views
Confidence Score0%
0%

Problem

How do I change where a symlink points to, without deleting and creating a new one (with )? When I tried doing that to Java's "Current" symlink, Java wouldn't even work (from the command line, at least, said 'Segmentation Fault') but it was back to normal when I restored the old "Current" symlink w…

Error Output

ln -s "/path/to/point/to" "/path/where/symlink/is"

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to change a symlink in OS X?

Low Risk

or will change the existing link to point to (the and are identical in operation) From If the or is a symbolic link, do not follow it. This is most useful with the option, to replace a symlink which may point to a directory. If the target file alrea…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment