Mailinglist Archive: opensuse (818 mails)

< Previous Next >
[opensuse] How to delete a symlink and the folder to which it points
I have symlinks created with ln -s which point to real folders.
I want to delete both the folder and the symlink which points to it.

I can do it by writing a script which ls -l's the symlink and cuts out the name of the folder but. . .

I wondered if there was a one liner to do that.
L x
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups