Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jul 2004 09:25:51 -0500
From:      Len Conrad <LConrad@Go2France.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Removing thousands of files using rm
Message-ID:  <6.1.1.1.2.20040706092508.03131340@81.255.84.73>
In-Reply-To: <3703.209.167.16.15.1089123354.squirrel@209.167.16.15>
References:  <3703.209.167.16.15.1089123354.squirrel@209.167.16.15>

next in thread | previous in thread | raw e-mail | index | archive | help

>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.1.1.1.2.20040706092508.03131340>