title: Robocopy moves files older than
body: <p>here is my script to move files older than a certain amount of days-</p>
  
  <pre><code>mkdir F:\TempRemoval
  robocopy "F:\Example" "F:\TempRemoval" /move /e /minage:1
  del "F:\TempRemoval\*.*" /f /s /q
  rmdir F:\TempRemoval /s /q
  exit
  </code></pre>
  
  <p>The only problem I have is that certain files I need are added into this folder that are 3-4 years old. I know a solution that will work but i'm not sure how to code it.</p>
  
  <p>I want robocopy to only search the date up to the first level of folders i.e</p>
  
  <pre><code>c:\folders\delete
  </code></pre>
  
  <p>I want it to search the date of only the files and folders listed in "folders" - and move the entire folder and subfolders/files based on that result.</p>
  
  <p>Is there anyway to do this? </p>