title: AWS CLI moving file with wildcard (asterisk) in path
body: <p>I am attempting to move a file, from on s3 location to another, using an activity in a AWS data pipeline.</p>
  <p>The command I am using is:</p>
  <pre><code>(aws s3 mv s3://foobar/Tagger/out//*/lastImage.txt s3://foobar/Tagger/testInput/lastImage.txt)
  </code></pre>
  <p>But I receive the following error:</p>
  <pre><code>A client error (404) occurred when calling the HeadObject operation: Key &quot;Tagger/out//*/lastImage.txt&quot; does not exist
  </code></pre>
  <p>But, if I replace the &quot;*&quot; with the specific directory name, it will work.  The problem is I won't always know the name of the directory, so I was hoping I could use the &quot;*&quot; as a wild card.</p>