From: seren <se...@me...> - 2009-06-03 03:07:14
|
Hi, I was trying to figure out if I could move a bunch of files in an S3 bucket into a "subdirectory" using wildcards using the mv command. In testing, I produced this error with this command line: ./s3cmd -n mv s3://mybucket/sub-dir/filename filename2 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! An unexpected error has occurred. Please report the following lines to: s3t...@li... !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Problem: NameError: global name 'commands' is not defined S3cmd: 0.9.9 Python: 2.5.1 (r251:54863, Feb 6 2009, 19:02:12) [GCC 4.0.1 (Apple Inc. build 5465)] Traceback (most recent call last): File "./s3cmd", line 1562, in <module> main() File "./s3cmd", line 1542, in main cmd_func(args) File "./s3cmd", line 539, in cmd_mv subcmd_cp_mv(args, s3.object_move, "File %(src)s moved to %(dst)s") File "./s3cmd", line 522, in subcmd_cp_mv raise ParameterError("Parameters are not URIs! Expected: %s" % commands['cp']['param']) NameError: global name 'commands' is not defined !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! An unexpected error has occurred. Please report the above lines to: s3t...@li... !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Seren 858-342-2992 “This message and its contents are intended only for the use of the individual or entity to which they are addressed, and the information contained is privileged, confidential, and exempt from disclosure under applicable law. Thank you." |