title: Can I move an object into a 'folder' inside an S3 bucket using the s3cmd mv command?
body: <p>I have the <code>s3cmd</code> command line tool for linux installed. It works fine to put files in a bucket. However, I want to move a file into a 'folder'. I know that folders aren't natively supported by S3, but my Cyberduck GUI tool converts them nicely for me to view my backups.</p>
  
  <p>For instance, I have a file in the root of the bucket, called 'test.mov' that I want to move to the 'idea' folder. I am trying this:</p>
  
  <pre><code>s3cmd mv s3://mybucket/test.mov s3://mybucket/idea/test.mov
  </code></pre>
  
  <p>but I get strange errors like:</p>
  
  <pre><code>WARNING: Retrying failed request: /idea/test.mov (timed out)
  WARNING: Waiting 3 sec...
  </code></pre>
  
  <p>I also tried quotes, but that didn't help either:</p>
  
  <pre><code>s3cmd mv 's3://mybucket/test.mov' 's3://mybucket/idea/test.mov'
  </code></pre>
  
  <p>Neither did just the folder name</p>
  
  <pre><code>s3cmd mv 's3://mybucket/test.mov' 's3://mybucket/idea/'
  </code></pre>
  
  <p>Is there a way within having to delete and reput this 3GB file?</p>
  
  <p><strong>Update</strong>: Just FYI, I can put new files directly into a folder like this:</p>
  
  <pre><code>s3cmd put test2.mov s3://mybucket/idea/test2.mov
  </code></pre>
  
  <p>But still don't know how to move them around....</p>