title: ignore directories in the find command
body: <p>How do I just ignore the directories in the find command</p>
  
  <pre><code>find /testfile1
  
  /testfile1
  /testfile1/tmp1.txt
  /testfile1/tmp2.txt
  /testfile1/tmp3.txt
  /testfile1/tmp4.txt
  /testfile1/test1
  /testfile1/test1/as
  /testfile1/test1/dw
  /testfile1/test2
  /testfile1/test2/adsad
  /testfile1/test2/bc
  </code></pre>
  
  <p>/testfile1 , /testfile1/test1 and /testfile1/test2 are the directories. So I want to remove those directories in the result and I cant use type -f since I need to get the full path for the files.</p>
  
  <p>so how would I just get the files with the full path like</p>
  
  <pre><code>/testfile1/tmp1.txt
  /testfile1/tmp2.txt
  /testfile1/tmp3.txt
  /testfile1/tmp4.txt
  /testfile1/test1/as
  /testfile1/test1/dw
  /testfile1/test2/adsad
  /testfile1/test2/bc
  </code></pre>
  
  <p>Thanks</p>