title: Delete old files using ls and find command
body: <p>My folder structer looks like below:</p>
  
  <pre><code>folder1
          ---tmp
          ---sub1
  folder2
          ---tmp
          ---sub2
  folder3
          ---tmp
          ---sub3
  folder4
          ---tmp
          ---sub4
  </code></pre>
  
  <p>I want to delete files which older than 30 days in all tmp folder.</p>
  
  <h1>list all tmp folder:</h1>
  
  <pre><code>ls -d */tmp
  </code></pre>
  
  <h1>delete all files which older than 30 days</h1>
  
  <pre><code>find . -mtime +30 -type f -delete
  </code></pre>
  
  <p>Could i combine these 2 steps into one command line?</p>