Removing thousands of files using rm

Len Conrad LConrad at Go2France.com
Tue Jul 6 07:26:28 PDT 2004


>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



More information about the freebsd-questions mailing list