[ale] 2 Perl questions ?

Joe Sechman joe.sechman at gmail.com
Wed Dec 15 09:58:28 EST 2004


On Wed, 15 Dec 2004 08:40:18 -0600 (CST), Aditya Srinivasan
<sriad at uab.edu> wrote:
> If you need to take some action based on a file that matches a certain criteri, use the
> -exec switch.
Or if you need more efficiency or running into overload problems, pipe
your find command results to xargs.

$ find / -name "test" | xargs -i ls -la {}

[OT] I read somewhere that 'xargs' is the most underutilized
command.....is that really true, I seem to use it all the time!

-- 
Joe Sechman
Unix / Linux Systems Administrator
RLU: #367555
http://counter.li.org



More information about the Ale mailing list