J Wunsch wrote:
> Alexander Langer <[EMAIL PROTECTED]> wrote:
>
> > It's xargs job to workaround that:
> >
> > ls | xargs rm -rf
>
> rm -rf /home/gary/public_html/mrtg/david
>
> should have worked as well. It also removes the directory itself,
> yes, but since it's then rm(1) that does the d
On Thu, May 24, 2001 at 10:40:46AM +0200, J Wunsch said:
> Alexander Langer <[EMAIL PROTECTED]> wrote:
>
> > ls | xargs rm -rf
>
> rm -rf /home/gary/public_html/mrtg/david
If you're running as root, neither of those do the same thing
as
rm -rf /home/gary/public_html/mrtg/david/*
What
Alexander Langer <[EMAIL PROTECTED]> wrote:
> It's xargs job to workaround that:
>
> ls | xargs rm -rf
rm -rf /home/gary/public_html/mrtg/david
should have worked as well. It also removes the directory itself,
yes, but since it's then rm(1) that does the directory handling,
there's no longer
Thus spake Will Andrews ([EMAIL PROTECTED]):
> No. It's a safety feature to prevent your shell from using too much
> memory to do the globbing you asked for (the "*"). This has nothing
> whatsoever to do with rm(1).
It's xargs job to workaround that:
ls | xargs rm -rf
Alex
--
cat: /home/al
On Wed, May 23, 2001 at 05:51:40AM -0500, Storms of Perfection wrote:
> gary@trouble:~$ rm -rf /home/gary/public_html/mrtg/david/
> Display all 2275 possibilities? (y or n)
> gary@trouble:~$ rm -rf /home/gary/public_html/mrtg/david/*
> bash: /bin/rm: Argument list too long
>
> Is this a bug with
On Wed, May 23, 2001 at 05:51:40AM -0500, Storms of Perfection wrote:
> gary@trouble:~$ rm -rf /home/gary/public_html/mrtg/david/
> Display all 2275 possibilities? (y or n)
> gary@trouble:~$ rm -rf /home/gary/public_html/mrtg/david/*
> bash: /bin/rm: Argument list too long
>
> Is this a bug with
gary@trouble:~$ rm -rf /home/gary/public_html/mrtg/david/
Display all 2275 possibilities? (y or n)
gary@trouble:~$ rm -rf /home/gary/public_html/mrtg/david/*
bash: /bin/rm: Argument list too long
Is this a bug with rm? I've never come accross this on -CURRENT or -STABLE
for that matter..
To Un