Hello,

I am trying to use s3cmd to sync a directory within s3 to a directory on my local machine.  After getting the below error message several times in several variants of sync I thought I would share it here.

myLocalMachine: which python
/usr/bin/python
myLocalMachine: /usr/bin/python --version
Python 2.5.1
myLocalMachine: which s3cmd
/usr/local/bin/s3cmd
myLocalMachine: /usr/local/bin/s3cmd --version
s3cmd version 0.9.9.91
myLocalMachine: s3cmd sync s3://<REMOVED>/init/ /tmp/s3cmd-syncdir/

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    An unexpected error has occurred.
  Please report the following lines to:
   s3tools-bugs@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Problem: OSError: [Errno 21] Is a directory: '/tmp/s3cmd-syncdir/'
S3cmd:   0.9.9.91

Traceback (most recent call last):
  File "/usr/local/bin/s3cmd", line 1736, in <module>
    main()
  File "/usr/local/bin/s3cmd", line 1681, in main
    cmd_func(args)
  File "/usr/local/bin/s3cmd", line 1070, in cmd_sync
    return cmd_sync_remote2local(args)
  File "/usr/local/bin/s3cmd", line 889, in cmd_sync_remote2local
    raise e
OSError: [Errno 21] Is a directory: '/tmp/s3cmd-syncdir/'

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    An unexpected error has occurred.
    Please report the above lines to:
   s3tools-bugs@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


Any help would be greatly appreciated!

--
Tom Frazier
tom@smirkabout.com

SmirkAbout
www.smirkabout.com
'Express yourself, express your stuff'