title: bash: Delete all files older than 1 month, but leave files from Mondays
body: <p>I have a lot of daily backup archives. To manage disk usage, I need a bash script that will delete all files older than 1 month, but keep all files created on Mondays, even if they are older than 1 month.</p>
  
  <p>For example, this will delete all files last modified more than 30 days ago:</p>
  
  <pre><code> find /path/to/files* -type f -mtime +30 -delete
  </code></pre>
  
  <p>But I don't really know how to keep files created on Mondays.</p>