Joined July 2012
·
Be3a7e0e4d28f5da75c0a54a6ddfb3b6

Juan

Web maker at Indra
Web maker
Indra
·
Barcelona
·
·
·

Posted to Using bash? Check zsh out!! over 1 year ago

A good video tutorial about some oh-my-zsh features:
http://www.youtube.com/watch?v=m07MiM6rmMc

Thanks for your comment. I am a noob in shell but I prefer your method in the find, but i can't use the -exec option form more of one line, I need to continue using xargs. My new version of the command:
find * -type f -name '*.php' | xargs -I x php -l x 1> /dev/null

In the same way, if it not return nothing all is ok, but now if we have errors the output is better

Achievements
282 Karma
30,155 Total ProTip Views
Interests & Skills