Ralph Shumaker wrote:
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.)
False alarm.
It turns out that some of the other links I made were made to files
*through* the link I deleted. The other links went dead because they
were not pointing to the real locations of the actual files, but to the
relative locations through the now missing link. I just got thru
dropping the dead links and replacing them with links thru a better pathway.
(And yes, I intend to be performing a backup *very* soon. It has been
far too long. I was trying to get things arranged better for the
backup, when this illusion of a disaster struck.)
--
Ralph
--------------------
Few things are harder to put up with than a good example.
--Mark Twain
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie