How To Removing Trailing Whitespace Of All Files of selective file types in a directory recursively?
find . -type f \( -name "*.css" -o -name "*.php" -o -name "*.less" \) -exec perl -p -i -e "s/[ \t]*$//g" "{}" \;
http://stackoverflow.com/questions/9264893/how-to-removing-trailing-whitespace-of-all-files-of-selective-file-types-in-a-di