title: Linux find exec md5sum, only the sum like this (fullpath TAB size TAB mtime TAB ctime TAB md5)
body: <p>I want to view for the files in /var/www the following data:
  fullpath size mtime ctime md5</p>
  
  <p>I ran the following command: </p>
  
  <pre><code>find /var/www/ -maxdepth 1 ! -type d -printf '%p\t%s\t%t\t%c\t' -exec md5sum {}  \;
  </code></pre>
  
  <p>which gives me:
  (fullpath size mtime ctime md5 fullpath)</p>
  
  <pre><code>/var/www/intranet/admin/tpl/view.tpl.php        1448    Wed Dec 16 18:51:06.0000000000 2015     Fri Sep 15 09:08:36.0805775786 2017     e0b7dacaf7c90fb0fbe7a69c331e36aa  /var/www/intranet/admin/tpl/view.tpl.php
  </code></pre>
  
  <p>How can I filter the last fullpath?????? I do not want to show it. All fields are TAB separated.</p>
  
  <p>I tried: </p>
  
  <pre><code>find /var/www/  -maxdepth 1 ! -type d -printf '%p\t%s\t%t\t%c\t'
     -exec md5sum {} | awk '{print $1}'\;
  </code></pre>
  
  <p>for which I received the error: "find: missing argument to `-exec'"</p>
  
  <pre><code>find /var/www/ -maxdepth 1 ! -type d -printf '%p\t%s\t%t\t%c\t' -exec md5sum {} + | awk '{print $1}' 
  </code></pre>
  
  <p>for which I got only the md5sum.</p>
  
  <p>Thanks in advance!</p>