Subject: Re: find uses 400MB memory
To: Kazushi Marukawa <jam@pobox.com>
From: Daniel Muino <dmuino@inktomi.com>
List: current-users
Date: 09/14/2001 16:25:03
On Fri, 14 Sep 2001, Kazushi Marukawa wrote:

: On the other hand, thank you for introducing xargs.
: However, xargs has a problem for me.  It tries to parse not
: only arguments but also file names through stdin.
: Therefore, it stops with "unterminated quote" message if
: some files using one single/double quote in its file name.
: I'm not sure whether this is a bug or specification though.
: It's the reason why I didn't use it.

Use find -print0 and xargs -0.

Regards,

Daniel