H₂0.py <okop...@gmail.com> writes: > On Jan 18, 4:04 am, Peter Otten <__pete...@web.de> wrote: >> >> What's the advantage of 'find ... | xargs ...' over 'find ... -exec ...'? > > Portability. Running the '-exec' version will work fine in a directory > with a relatively small number of files, but will fail on a large one.
How? -exec passes each file name to a separate invocation of the given command - it doesn't build one large command line with multiple args. sherm-- -- Sherm Pendley <http://camelbones.sourceforge.net> Cocoa Developer -- http://mail.python.org/mailman/listinfo/python-list