Search Results

Search: Posts Made By: johnnyk
11,918
Posted By johnnyk
Rather than using say a "-exec" switch with find,...
Rather than using say a "-exec" switch with find, lets say you did a "-exec rm {} \;" for example... and your find comes up with 10,000 files. It means you've executed rm 10,000 times. xargs will...
2,966
Posted By johnnyk
try this..
-exec is pretty inefficient.. use xargs. Try something like:

find . -type f | xargs grep "string"
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 08:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy