title: Bash File to move files older than X to S3
body: <p>I am trying to create a bash file to run via a cron job that copies, then deletes locally files/directories older than a certain date to Amazon S3 via their CLI.  </p>
  
  <p>I have the S3 CLI installed and working, just don't know how to write the script to copy and delete files.</p>