nix, shell, perl, php, mysql and mac os x tips and tricks

Friday, December 1, 2006

Another workaround for system argument list too long error when using grep

find . -type f -maxdepth 1 |xargs grep -rHn [searchword]

No comments:

Post a Comment