MLUG: RE: [MLUG] xargs: Argument list too long
RE: [MLUG] xargs: Argument list too long
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
It has been a few months since I have downloaded Cygwin so I cannot
remember if there is different versions for 32 and 64 bit.  If there is,
that could possibly the be the source of your problem.  You might report
it as a bug to the developers of Cygwin.

-----Original Message-----
From: EMAIL:PROTECTED
[mailto:EMAIL:PROTECTED] On Behalf Of Mike Miller
Sent: Tuesday, March 27, 2007 6:08 PM
To: MLUG membership
Subject: [MLUG] xargs: Argument list too long

I'm using Cygwin on Windows XP and getting this error:

xargs: /path/to/id3.exe: Argument list too long

It's coming from a command that looks like this:

$ find . -name \*.[Mm][Pp]3 -type f -print0 | xargs -0 ~/bin/id3.exe -M
-12 -c "source: 1"

"find" only comes up with 946 files, which is a relatively small number,

so I don't understand the cause of this problem.  I used the same
command 
under Cygwin on an XP x64 machine and it didn't come up with this error 
even though there were definitely several times as many files identified

by "find".

Any ideas?

I was able to partition it up and make it work like this:

$ find ./[A-E]* ...
$ find ./[F-G]* ...
$ find ./[H-M]* ...
$ find ./[N-Z]* ...

Seems like it shouldn't be necessary to do that!

Mike

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members