Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
- To: MLUG membership <EMAIL:PROTECTED>
- Subject: [MLUG] xargs: Argument list too long
- From: Mike Miller <EMAIL:PROTECTED>
- Date: Tue, 27 Mar 2007 18:07:55 -0500 (CDT)
- Delivery-date: Tue, 27 Mar 2007 18:08:26 -0500
- Envelope-to: EMAIL:PROTECTED
- Reply-to: MLUG Members <EMAIL:PROTECTED>
- Sender: EMAIL:PROTECTED
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