title: find and delete file or folder older than x days
body: <p>I want to delete file and folder older than 7 days so I tried </p>
  
  <pre><code>[17:07:14 root@client01.abc.com:~]# find /tmp/ -mindepth 1 -maxdepth 1 -ctime +7 -exec ls -l {} \;
  </code></pre>
  
  <p>So when I run <code>find /tmp/ -mindepth 1 -maxdepth 1 -ctime +7 -exec ls -l {} \;</code> it doesnt show any dir, but for <code>find /tmp/ -mindepth 1 -maxdepth 2 -ctime +7 -exec ls -l {} \;</code> it does show few files in subdir.</p>
  
  <p>Whats is the right way to delete files/folders older than 7 days in one specific dir ?</p>