Hey there. I've been moving recursively files on s3 between folders, same bucket (the intention being to rename the folder they're in. You guys should add a renaming feature without the move command on s3cmd tool.

I have replicated this with the stable version and as well with the 1.5.0-alpha3. 
So .. it all went as expected except for one particular file/file-type/file-name-format. Here it is:
I've renamed with generic example names the folders but kept the name structure and name length.

# s3cmd -v mv s3://bucket1/folder22/subfolder/aaaa_bbbbbb.ccc-20130131.gz s3://bucket1/folder22.new/subfolder/aaaa_bbbbbb.ccc-20130131.gz

Problem: S3RequestError: Request failed for: /folder22.new/subfolder/aaaa_bbbbbb.ccc-20130131.gz

S3cmd:   1.5.0-alpha3

Traceback (most recent call last):
  File "/usr/bin/s3cmd", line 2180, in <module>
    main()
  File "/usr/bin/s3cmd", line 2105, in main
    cmd_func(args)
  File "/usr/bin/s3cmd", line 604, in cmd_mv
    subcmd_cp_mv(args, s3.object_move, "move", "File %(src)s moved to %(dst)s")
  File "/usr/bin/s3cmd", line 588, in subcmd_cp_mv
    response = process_fce(src_uri, dst_uri, extra_headers)
  File "/usr/share/s3cmd/S3/S3.py", line 482, in object_move
    response_copy = self.object_copy(src_uri, dst_uri, extra_headers)
  File "/usr/share/s3cmd/S3/S3.py", line 478, in object_copy
    response = self.send_request(request)
  File "/usr/share/s3cmd/S3/S3.py", line 684, in send_request
    return self.send_request(request, body, retries - 1)
  File "/usr/share/s3cmd/S3/S3.py", line 684, in send_request
    return self.send_request(request, body, retries - 1)
  File "/usr/share/s3cmd/S3/S3.py", line 684, in send_request
    return self.send_request(request, body, retries - 1)
  File "/usr/share/s3cmd/S3/S3.py", line 684, in send_request
    return self.send_request(request, body, retries - 1)
  File "/usr/share/s3cmd/S3/S3.py", line 684, in send_request
    return self.send_request(request, body, retries - 1)
  File "/usr/share/s3cmd/S3/S3.py", line 686, in send_request
    raise S3RequestError("Request failed for: %s" % resource['uri'])
S3RequestError: Request failed for: /folder22.new/subfolder/aaaa_bbbbbb.ccc-20130131.gz

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    An unexpected error has occurred.
  Please try reproducing the error using
  the latest s3cmd code from the git master
  branch found at:
    https://github.com/s3tools/s3cmd
  If the error persists, please report the
  above lines (removing any private
  info as necessary) to:
   s3tools-bugs@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!



If I'm doing something wrong please let me know.  

Best regards,
Petrica Horatiu MURESAN
Phone: +35385-112-8942

This transmission may be privileged and may contain confidential information intended only for the recipient(s) named above.  Any other distribution, re-transmission, copying or disclosure of this message is strictly prohibited.  If you have received this transmission in error, please notify me immediately by telephone or return email, and delete this message from your system.