This should always work `find * -exec rm {} \;`

Henning, Brian wrote:
> agreed. this is nice clean solution to the problem.
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 21, 2002 2:13 PM
> To: [EMAIL PROTECTED]
> Subject: Re: bash: /bin/rm: Argument list too long
> 
> 
> "Henning, Brian" <[EMAIL PROTECTED]> writes:
> 
> 
>>you could try
>>
>>ls -l * | xargs /bin/rm -f
> 
> 
> Same problem
> 
> 
> find -type f |xargs /bin/rm -f
> 
> should solve it.
> 




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to