title: Detect directory changes in unix
body: <p>How could I track changes of specific directory in UNIX? For example, I launch some utility which create some files during its execution. I want to know what exact files were created during one particular launch. Is there any simple way to get such information? Problem is that:</p>
  
  <ol>
  <li>I cannot flush directory content after script execution</li>
  <li>Files created with the name that has hash as a compound part. There is no possibility to get this hash from script for subsequent search.</li>
  <li>There could be several scripts executed simultaneously, I do not want to see files created by another process in the same folder.</li>
  </ol>
  
  <p>Please notice that I do not want to know whether directory has been changed as stated <a href="http://valeriu.palos.ro/169/recursive-filedirectory-change-detection/" rel="noreferrer">here</a>, I need filenames which ideally could be grepped to match specific pattern.</p>