RE: Deleting a soft link that points to a directory - how?

2003-02-26 Thread Derrick Ryalls
I cannot seem to delete a soft link (ln -s) that is pointing to a directory without renaming the directory first. If I try to delete the link it complains that the link is a directory (which it is pointing to). If I delete using rm -rf, it deletes the directory that is pointed to but not

Re: Deleting a soft link that points to a directory - how?

2003-02-26 Thread Kirk Strauser
At 2003-02-26T20:26:05Z, Steve Warwick [EMAIL PROTECTED] writes: %rm -f MyTmp/ rm: MyTmp/: is a directory % %rm -rf MyTmp/ (deletes the directory it points to) %rm -f MyTmp(deletes the link) % Help, suggestions, magic? `MyTmp/' reference to the target. `MyTmp' (without the slash)