07 Apr
Piping with the find command and dealing with spaces
I often use the find command as such: grep foo `find . -name \*.php` which looks for foo in all the PHP files. If the list of files gets too long for the shell, then xargs is the better option: find . -name \*.php | xargs grep foo /dev/null This breaks up the command into [...]
