On Sat, 29 Apr 2000, Jon Nichols wrote:
> sometimes, in directories with hundreds of thousands of files
> i'll try a big glob rm and get an error like 'Arguments too long'.
man xargs. Note the -n option. Then try something like:
ls *March* | xargs -n 10 rm
This will remove the files in chunks of ten, instead of building a command
line that is potentially too large.
--
Todd A. Jacobs
Senior Network Consultant
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.
- Arguments too long Jon Nichols
- Re: Arguments too long David Talkington
- Re: Arguments too long Gordon Messmer
- Re: Arguments too long Todd A. Jacobs
- Re: Arguments too long Gordon Messmer
- Re: Arguments too long rpjday
- Re: Arguments too long Steven W. Orr
- RE: Arguments too long Ward William E PHDN
- Re: Arguments too long Gordon Messmer
- RE: Arguments too long Martin Waller
- RE: Arguments too long Ward William E PHDN
- Re: Arguments too long Gordon Messmer
