title: excluding directories from aws cp
body: <p>A current project directory on Mac machine, having some files and directories, needs to be copied over to aws s3 bucket but without some directories some of which are hidden.<br>
  I could not figure out from <a href="http://docs.aws.amazon.com/cli/latest/reference/s3/cp.html" rel="nofollow">the docs</a> how to do that, thus my guess is:  </p>
  
  <pre><code>aws&gt; s3 cp . s3://bucketName --recursive --exclude "how to put the list of directories to exclude here"?
  </code></pre>
  
  <p>Thanks</p>