Date: Wed, 26 Feb 2003 14:31:43 -0600 From: Kirk Strauser <kirk@strauser.com> To: freebsd-questions@freebsd.org Subject: Re: Deleting a soft link that points to a directory - how? Message-ID: <87smuahjgw.fsf@strauser.com> In-Reply-To: <BA8262DD.43E7%ukla@attbi.com> (Steve Warwick's message of "Wed, 26 Feb 2003 12:26:05 -0800") References: <BA8262DD.43E7%ukla@attbi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-= Content-Transfer-Encoding: quoted-printable At 2003-02-26T20:26:05Z, Steve Warwick <ukla@attbi.com> 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) refers to the link. Abracadabra! =2D-=20 Kirk Strauser In Googlis non est, ergo non est. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA+XSQv5sRg+Y0CpvERAjFAAJ0XnJfUnBPStcKySR0pqOf7658JwwCfWank uLMDtalPhDYB5XWkzPaka6o= =Fi0Z -----END PGP SIGNATURE----- --=-=-=-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87smuahjgw.fsf>