[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Make action on all files in a dir recursively

There is another way: "find -exec" but in common case the "xargs" 
is better.
I would recommend you to read "info find, "Action: Adding Tests""
for understanding difference between these two ways.

On Sat, Sep 01, 2001 at 11:45:47AM +0200, joost witteveen wrote:
> find $dir -type f | xargs echo
> or 
> find $dir -type f | xargs -n 1 echo
> (try to see the difference).
> -- 
> joostje


Reply to: