James G. Sack (jim) wrote:
Ralph Shumaker wrote:
Someone here told me a convenient way to create a link in Nautilus,
namely dragging a file or directory to where I want the link, but before
letting go of the mouse drag button, press Alt.  Letting go with the Alt
key down gives a little popup menu.

Now, I'd like to know of an easy way to delete *just* the link, not what
it's pointing to.  I'd like an easy mouse-driven way, but presently I
cannot even find a command line way.  man ln doesn't give anything
useful that I can see.  apropos didn't show much of promise either.

I have a way to do it, but it involves too many steps, namely renaming
what the link points to, deleting the now-dangling link, then renaming
the object back.

I believe you are trying to make it more complicated than it is!
Just delete it. With point and right-click, drag-to-trash (yuk), or
command line rm. The link (only) will be removed -- not the target. Try
it on links to some test files just to reassure yourself.

Regards,
..jim

I tried *one* thing you suggested on a test file. But like an idiot, I tried another thing you suggested on the real thing (without testing first), namely rm linkName on a command line. How do I recover the target that got dumped along with the link? (And no, I don't have a backup.)



--
Ralph

--------------------
I can say first hand that I've become an "expert" on several matters largely by recognizing and accepting that I'm a complete moron on said matters, and not being afraid of other people knowing it. ;-)
--Christopher Smith (20070628)

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie

Reply via email to