/bin/rm: Argument list too long.

Brian Bobowski bbobowski at cogeco.ca
Fri Nov 19 01:20:45 PST 2004


Mipam wrote:

>Hi,
>
>I tried to delete all files from a dir, however I got this message:
>
>/bin/rm: Argument list too long.
>
>So, no go. newfs is also no option, because the dir is not a seperate fs.
>Any hints exept for manual labour?
>Bye,
>
>Mipam.
>  
>
I gather it's rm * that's not working?

If so, try a subset, e.g. rm a* or something else that's fairly common, 
and see if you can just rm * after that.

-BB


More information about the freebsd-questions mailing list