From: | Peter Avalos <pavalos@xxxxxxxxxxxx> |
Date: | Thu, 20 Jul 2006 19:45:16 -0700 |
Mail-followup-to: | bugs@crater.dragonflybsd.org |
On Thu, Jul 20, 2006 at 11:13:42PM -0400, Justin C. Sherrill wrote: > I noticed something strange. I unpacked the pkgsrc tarball to the wrong > directory, and moved the contents. After copying it up, I deleted the > directory, which was empty. > > 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? > > However, I still got the "recursively remove <dirname>" warning that comes > from trying to delete more than 3 files. It lists a total of 3, but only > names 2. This was on a 1.4.4 system > > Sounds like you have an alias for rm that does rm -I. --Peter
Attachment:
pgp00021.pgp
Description: PGP signature