Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Error 0403-027 The parameter list is too long?
v1_0_at_my-deja.com writes:
Hi!
> 4) write a script to do the command on each file
> for filename in `ls`
> do
> if [ $filename .some test to make sure right file. ]
> then
> echo "Doing 'command' to $filename"
> command $filename ....
> fi
> done
Why not use xargs?
find /mypath/ -name "*.dbf" | xargs command
Stephan.
--
loescher_at_leo.org
http://www.leo.org/~loescher/
Try the LEO-archive: http://www.leo.org/archiv/archiv_e.html
Received on Sat Oct 23 1999 - 09:12:03 CDT