baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
- From: Lee Forrest <lforrestster AT gmail.com>
- To: BasicLinux List <baslinux AT lists.ibiblio.org>
- Subject: Re: [BL] rm -r and grep -r for busybox
- Date: Thu, 8 Feb 2007 18:35:07 +0000
On Fri, Feb 09, 2007 at 01:18:34PM +1300, 3aoo-cvfd AT dea.spamcon.org wrote:
> Lee Forrest wrote:
> >
> > Busybox doesn't have either of these options, both of
> > which are very valuable. rm -r allows you delete an
> > entire directory tree.
>
> The busybox in BL3 does have the -r option:
> ------------------------------------------------------
> Options:
> -i always prompt before removing each destination
> -f remove existing destinations, never prompt
> -r remove the contents of directories recursively
> ------------------------------------------------------
Oops. I have rm aliased to
#!/bin/sh
#use \rm to empty /tmp/trash
/bin/mv "$@" /tmp/trash
Because I run as root.
So when I tried rm -r I got the usage file for mv...
Oh well. I _know_ that it doesn't have grep -r.
Thanks for catching that.
Lee
--
BasicLinux: Small is Beautiful
http://www.basiclinux.com.ru
-
[BL] rm -r and grep -r for busybox,
Lee Forrest, 02/08/2007
-
Re: [BL] rm -r and grep -r for busybox,
3aoo-cvfd, 02/08/2007
- Re: [BL] rm -r and grep -r for busybox, Lee Forrest, 02/08/2007
-
Re: [BL] rm -r and grep -r for busybox,
3aoo-cvfd, 02/08/2007
Archive powered by MHonArc 2.6.24.