Symlink - how to delete ?

danyg

macrumors member
Original poster
Mar 29, 2008
31
0
Hi,

I was instructed by TODO (Appigo) support to create a Symlink, as below.
I would like, now, to delete this symlink.
How do I do it ?

Thanks/Dany.


Next, create a symlink to your external personal folder. You can do this by entering 'sudo ln -s /Volumes/USER_MYBOOK2000/Users/danygeller /Users/danygeller'. If you aren't familiar with them symlinks are pointers in the file system that point to another location. Basically, this allows you to access your personal files at either location. To apps on your Mac, it appears as if your files really are located at /Users/danygeller.
 

johnhurley

macrumors 6502a
Aug 29, 2011
777
52
I would like, now, to delete this symlink.
First of all be careful and make sure you understand what you are doing.

Try looking up symbolic links ( use google maybe with works like "remove symbolic link" etc ).

Read the wikipedia article and/or man page and/or macworld hints articles.
 

tyche

macrumors 6502
Jul 30, 2010
411
61
When looking via the Finder, you can see your symlink has a little arrow in the bottom of the icon. Just drag it into the trash like any other file.

However, like has been mentioned, be sure you understand what you are doing (and why) when you go around deleting files. If you have to ask how to delete a symlink, I'm a bit concerned offering advice that may get me in trouble. At least dragging it to the trash you can recover it.
 

danyg

macrumors member
Original poster
Mar 29, 2008
31
0
Thanks, but where is the icon ? Where can I find the symlink ?

 

tyche

macrumors 6502
Jul 30, 2010
411
61
The symlink is just a file. Where is it? It's where you created it. In this case probably on the 'Macintosh HD' disk /users.

What this is likely to do is remove the link to your home directory from your OS X install which would be pointing to your 'USER_MYBOOK2000' external drive. Be sure that is what you're trying to do because that could mess things up.

In fact it would probably be a better idea explain what your problem is and find a solution than to ask how to delete symlinks.
 

robgendreau

macrumors 68040
Jul 13, 2008
3,331
243
There is a reason they instructed you to put it there; don't remove it without finding out if that is the appropriate action to take. I'd suggest contacting the person who instructed you to create the symlink in the first place.