Is there a single command to change the target of a symlink?

Say I have a link which points from mylink to A, made by

  ln -s A mylink

and I want to make the link point to B instead. I can of course do

  rm mylink
  ln -s B mylink

but is't there a simpler way to do it? I would be amazed if there
weren't any (this operation occurs quite often), but I could not
find any clues in man ln.

Regards, Jan



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to