Subject: Explain this.
From: Paul Colquhoun
Date: 11/16/2007 8:34:15 AM
On Fri, 16 Nov 2007 05:58:49 GMT, Mark Healey <die@spammer.die> wrote:
| [mark@Buttercup mark]$ ls -l
| total 8
| lrwxrwxrwx 1 mark mark 27 Nov 15 21:50 audiobooks -> /usr/local/media/
| audiobooks
| lrwxrwxrwx 1 mark mark 22 Nov 15 21:50 books -> /usr/local/media/books
| [mark@Buttercup mark]$ rm audiobooks/
| rm: cannot remove directory `audiobooks/': Is a directory
| [mark@Buttercup mark]$ rmdir audiobooks/
| rmdir: audiobooks/: Not a directory
|
|
| How do I get rid of those links?
Remove the trailing '/' character from the link names in the 'rm'
command. This forces the link to be resolved into a directory name.
--
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol
Asking for technical help in newsgroups? Read this first:
http://catb.org/~esr/faqs/smart-questions.html#intro
|