| www.delorie.com/gnu/docs/findutils/find_45.html | search |
![]() Buy GNU books! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
xargs can insert the name of the file it is processing between
arguments you give for the command. Unless you also give options to
limit the command size (see section 3.3.2.3 Limiting Command Size), this mode of
operation is equivalent to `find -exec' (see section 3.3.1 Single File).
--replace[=replace-str]
-i[replace-str]
find bills -type f | xargs -iXX sort -o XX.sorted XX |
The equivalent command using `find -exec' is:
find bills -type f -exec sort -o '{}.sorted' '{}' ';'
|
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |