FG
💻 Software

How to fix a symbolic link pointing to a wrong location?

Fresh6 days ago
Mar 15, 202620131 views
Confidence Score0%
0%

Problem

I'm a little bit confused with hard/softlinks here. I'm on OSX, have a folder '4' and two links pointing to it: When I follow 'Current' in folder it leads to a completely different location (the path I copied all the stuff from). I'd like 'Current' to point on the folder '4' at the new location. Ho…

Error Output

drwxr-xr-x  4 imm  staff  136 14 Jun 21:24 4
lrwxr-xr-x  1 imm  staff    1 14 Jun 16:56 4.0 -> 4
lrwxr-xr-x  1 507  wheel    1 14 Jun 16:56 Current -…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to fix a symbolic link pointing to a wrong location?

Low Risk

You need to remove and recreate the link. You can do this with And then recreate it: You can to use an absolute path (for simplicity). If you want the path to move when you move the link, then you can use a relative path. Just bear in mind that it s…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment