Mailinglist Archive: opensuse (2488 mails)

< Previous Next >
Re: [opensuse] softlink
  • From: Anders Johansson <andjoh@xxxxxxxxxx>
  • Date: Mon, 5 Feb 2007 22:03:18 +0100
  • Message-id: <200702052203.18615.andjoh@xxxxxxxxxx>
On Monday 05 February 2007 22:00, James D. Parra wrote:
> * James D. Parra <Jamesp@xxxxxxxxxxxxxxxx> [02-05-07 15:38]:
> > How do you remove a softlink without removing the directory it is
> > referencing, just the softlink itself?
>
> rm <soft-link>
> ~~~
>
> Thanks, I didn't know if 'rm' on a softlink to a dir' would also remove all
> of it contents.
>
> rm -fR <name_dir_softlink>

-R means "recursive". Why would you use recursive mode if you don't want to
recurse?

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References