http://qs1969.pair.com?node_id=140620


in reply to Need to change, oh, every file at once?

This way of using `find' is inefficient: it spawns a new Perl process for every file processed. Why not use xargs? (Also, ``-name "*"'' does nothing, so you could just lose it)
find ./ -type f | xargs ./somescript.pl
starts the least number of processes. More than one process may be started if the length of the command line grows beyond what's permitted.