title: Linux using tar and if else when it has a file or not
body: <p>I have a simple problem. I want that this script will say that if tar has a file inside "echo tar successful!" else "echo don't have any files".</p>
  
  <p>This is my script:</p>
  
  <pre><code>stat -c"%z;%n" * | grep '^2013-12-04' |  awk -F';' '{ print $2 }' |  xargs tar -zcvf file.tar.gz
  if[]??
  </code></pre>