Subject: | |
From: | |
Reply To: | |
Date: | Thu, 16 Nov 2006 13:33:08 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
You may want to try:
find . -name 'filename*' | xargs ls
(or cat or more or rm)
> Robin,
>
> I'm trying to work with a lot of files and have run into a bash or OS
> limitation. When I try a command that works with a wildcard file spec,
> e.g.,
> ls, wc, cat, etc., I get the error "Argument list too long". Searching on
> the Web shows that the system has a limit of ARG_MAX arguments, which is
> 131072. Unless there are reasons not to, could you bump this up, say to
> 500000?
>
> Thanks.
> Greg
>
> ----------------------------------------------------------------------------
> --------
> Greg Reese, Ph.D.
> Senior Research Computing Specialist
> Research Computing Support Group
> Gaskill Hall, Room 352
> Miami University
> Oxford, OH 45056
> (513)529-1411
> [log in to unmask]
>
> ------------------------------
> ------------------------------
> The trouble with Italian food is that five or six days after eating it
> you're hungry again.
> - George Miller
>
--
Jaime E. Combariza
Assistant Director Research Computing
Academic Technology Services
[log in to unmask]
(513) 529-5080
Miami University
Oxford, Ohio 45056
|
|
|