I often have the need to remove hundreds or even thousands of files from a
single directory (very often). Using rm, I usually get:
pearl# rm -rvf *
/bin/rm: Argument list too long.
Is there any way to work around this instead of having to select a small
bunch of files at a time to remove?
The
Steve Bertrand [EMAIL PROTECTED] writes:
I often have the need to remove hundreds or even thousands of files from a
single directory (very often). Using rm, I usually get:
pearl# rm -rvf *
/bin/rm: Argument list too long.
Is there any way to work around this instead of having to select a
On Tuesday 06 July 2004 09:15 am, Steve Bertrand wrote:
I often have the need to remove hundreds or even thousands of files
from a single directory (very often). Using rm, I usually get:
pearl# rm -rvf *
/bin/rm: Argument list too long.
Is there any way to work around this instead of having
I often have the need to remove hundreds or even thousands of files from a
single directory (very often). Using rm, I usually get:
pearl# rm -rvf *
/bin/rm: Argument list too long.
man xargs
Len
___
[EMAIL PROTECTED] mailing list
At 15:15 06/07/2004. Steve Bertrand had this to say:
I often have the need to remove hundreds or even thousands of files from a
single directory (very often). Using rm, I usually get:
pearl# rm -rvf *
/bin/rm: Argument list too long.
Is there any way to work around this instead of having to
I often have the need to remove hundreds or even thousands of files from
a
single directory (very often). Using rm, I usually get:
pearl# rm -rvf *
/bin/rm: Argument list too long.
Is there any way to work around this instead of having to select a small
bunch of files at a time to
I often have the need to remove hundreds or even thousands of files from
a
single directory (very often). Using rm, I usually get:
pearl# rm -rvf *
/bin/rm: Argument list too long.
Is there any way to work around this instead of having to select a small
bunch of files at a
Steve Bertrand [EMAIL PROTECTED] wrote:
I often have the need to remove hundreds or even thousands of files from a
single directory (very often). Using rm, I usually get:
pearl# rm -rvf *
/bin/rm: Argument list too long.
Is there any way to work around this instead of having to select a
On Tuesday 2004-07-06 09:15 am, Steve Bertrand wrote:
The directory I am trying to remove the files from is always hot, so
deleting the directory is unfortunately not an option. (I don't think).
If the directory is /var/tmp/foo, what about making foo a symlink to
foo.0, then do something