Justin C. Sherrill wrote: > dev# ls -la pkgsrc/ > total 3 > drwxr-xr-x 2 root wheel 1024 Jul 20 22:27 . > drwxr-xr-x 54 root wheel 1536 Jul 20 22:27 .. > dev# rm pkgsrc > rm: pkgsrc: is a directory > dev# rm -rf pkgsrc > recursively remove pkgsrc?
This might be a dumb question, but why don't you use rmdir? rmdir is the UNIX command to remove (empty) directories. Personally I have an alias rd=rmdir (and md=mkdir), which is a left-over from my old DOS days. :-) By the way, shouldn't -f override any previous -i or -I option? At least that's what I would expect. You don't type -f without a reason. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way.
