title: Move files from S3 subfolder to the S3 bucket root
body: <p>I need to move all files of a subfolder to it s3 bucket root.</p>
  <p>Right now I'm using cmd AWS CLI</p>
  <p><code>aws s3 mv s3:\\testbucket\testsubfolder\testsubfolder2\folder s3:\\testbucket\</code></p>
  <p>My main issue is that the subfolder &quot;folder&quot; changes every day after a TeamCity run. It is ay way to know if there is a new folder inside &quot;testsubfolder2&quot;, and copy its content to the S3bucket root?</p>
  <p>I want to automate this, as every day we run reports and are stored in an S3, but TeamCity create a project folder tree, and we need all the files on the S3 root</p>
  <p>Thanks.</p>