Re: OT: symlinks question

2007-06-01 Thread Vincent Lefevre
On 2007-05-31 21:01:44 +0200, Jan Willem Stumpel wrote: > 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

Re: OT: symlinks question

2007-06-01 Thread Jan Willem Stumpel
Andrew J. Barr wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Thu, 31 May 2007 21:01:44 +0200 > Jan Willem Stumpel <[EMAIL PROTECTED]> wrote: > >> Is there a single command to change the target of a symlink? > > Try using the -f switch on ln. Thanks! I had seen the -f switch in

Re: OT: symlinks question

2007-05-31 Thread Douglas Allan Tutty
On Thu, May 31, 2007 at 09:01:44PM +0200, Jan Willem Stumpel wrote: > 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 mylin

Re: OT: symlinks question

2007-05-31 Thread Andrew J. Barr
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 31 May 2007 21:01:44 +0200 Jan Willem Stumpel <[EMAIL PROTECTED]> wrote: > Is there a single command to change the target of a symlink? Try using the -f switch on ln. - -- Andrew J. Barr X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; powerpc-unk

Re: OT: symlinks question

2007-05-31 Thread Ken Irving
On Thu, May 31, 2007 at 09:01:44PM +0200, Jan Willem Stumpel wrote: > 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 my