title: How to use "find" and "grep" to get the file size too?
body: <p>I have this script:</p>
  
  <pre><code>find test -type f \( -iname \*.html -o -iname \*.htm -o -iname \*.xhtml \) -exec grep -il ".swf" {} \; -printf '%k KB - \t %p\n' &gt; result-swf-files.csv
  </code></pre>
  
  <p>This will search the directory "test" (and its subdirectories) for all HTML files which contains the word ".swf" in them. ANd will write a CSV file with the results.</p>
  
  <p>But I want to get the file size too in the same line (now, the script outputs on one line the grep result - which doesn't have the file size -  and in another line the printf result - which includes the file size).
  How do I add an option to grep to get the file size?</p>