-
🚀 @setopxargs provides better performances than exec because it does not spawn a new process for each file :
find /starting/path -type f -print0 | xargs -0 grep -H 'chaine'
-print0
and0
tells find and xargs to use null a a separator which is more robust than space.
Please register or sign in to comment