|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: Too many args for rm *.in
|
Lots of ways!
Method 1: one-by-one
--------------------
cd /bad/dir/with/too/many/files
ls -a > /tmp/out
for f in `cat /tmp/out`; do rm -f $f; done
Method 2: divide and conquer
----------------------------
rm -f [a-m]*
rm -f [n-z]*
rm -f [A-M]*
rm -f [N-Z]*
rm -f [0-9]*
rm -f *
-Andrew
On Tue, 1 Jun 1999 tburba@GLCORPIS01.usvision.com wrote:
>
>
>
>
> rm *.in fails with the error "too many arguments" (there is 15000 files).
> How do I use it with more arguments? (xargs man page makes no sense at all)
> TIA
>
>
> --
> To unsubscribe, send a message with the word 'unsubscribe' in the subject
> or body of your message to plug-request@lists.nothinbut.net
>
--
To unsubscribe, send a message with the word 'unsubscribe' in the subject
or body of your message to plug-request@lists.nothinbut.net
|
|