Date: Tue, 6 Jul 2004 10:15:54 -0400 (EDT) From: "Steve Bertrand" <iaccounts@ibctech.ca> To: freebsd-questions@freebsd.org Subject: Removing thousands of files using rm Message-ID: <3703.209.167.16.15.1089123354.squirrel@209.167.16.15>
next 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. Is there any way to work around this instead of having to select a small bunch of files at a time to remove? 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). Any assistance is greatly appreciated. Tks all, Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3703.209.167.16.15.1089123354.squirrel>