Symlink - how to delete ?

Discussion in 'Mac OS X Lion (10.7)' started by danyg, Jan 7, 2012.

  1. danyg macrumors member

    Joined:
    Mar 29, 2008
    #1
    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.
     
  2. johnhurley macrumors 6502a

    johnhurley

    Joined:
    Aug 29, 2011
    #2
    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.
     
  3. tyche macrumors 6502

    Joined:
    Jul 30, 2010
    #3
    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.
     
  4. danyg thread starter macrumors member

    Joined:
    Mar 29, 2008
    #4
    Thanks, but where is the icon ? Where can I find the symlink ?

    [​IMG]
     
  5. tyche macrumors 6502

    Joined:
    Jul 30, 2010
    #5
    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.
     
  6. robgendreau macrumors 68040

    Joined:
    Jul 13, 2008
    #6
    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.
     

Share This Page