/bin/rm: Argument list too long.

Francisco Reyes lists at natserv.com
Sat Nov 20 10:16:04 PST 2004


On Fri, 19 Nov 2004, Dennis Koegel wrote:

> find /foo/bar -type f -maxdepth 1 | xargs rm -n100

Although xargs is the most versatile solution for when having too many 
items listed, for just deleting find itself can do it..
find /foo/bar -n "<mask>" -delete


More information about the freebsd-questions mailing list