On Sun, 3 Aug 2014 13:33:43 -0700
website reader <[email protected]> wrote:

> To bash gurus:
> 
> I just now ran into the wall while processing files in a long
> simulation run, there are over 50,000 files in one directory and now
> the bash shell expansion wild card character * is expanding command
> line arguments and then the infamous "too many argments" message is
> given.  This is particularly bad while trying the ls command: "ls
> *file*  ( I apparently understand that there is a limitation in the
> readdir() command buffer size)

Randall,

I believe the xargs(1) command can help you here.

--Dale

--
"Duct tape is like the Force.  It has a light side, a dark side,
and it holds the universe together."   --Carl Zwanzig

Attachment: signature.asc
Description: PGP signature

_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to