renaming a file....

Todd Zullinger tmz at pobox.com
Fri Dec 29 02:14:42 UTC 2006


Remi Collet wrote:
> Jacques B. a écrit :
>> Not to detract from your question, but once answered I'd be
>> interested in some input on the difference in using xarg vs -exec.
>>
> Using xarg seems subject to command line size limit.

Using xargs will help you avoid the problem of hitting the command
line size limit.

> find -exec run the command once for each file.

Which is very inefficient when you're doing something that could be
done on all the files at once.  Generally I think using xargs is more
appropriate.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
======================================================================
Truth is like a well-known whore.  Everybody knows her but it's
embarrassing to meet her in the street.
    -- Wolfgang Borchert

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20061228/fd35abd2/attachment-0001.sig>


More information about the fedora-list mailing list