0
我試圖使用aws cli將我的機器中的文件同步到s3。應該很簡單吧?aws同步失敗:'datetime.datetime'對象沒有屬性'讀'
這裏是正在發生的事情:
$ aws s3 sync mydir/ s3://mybucket --profile me
'datetime.datetime' object has no attribute 'read'
Completed 1 part(s) with ... file(s) remaining
我知道有沒有權限問題,因爲相同的命令(--recursive
)如果cp
代替的sync
使用工作。我已經嘗試添加--recursive
,與--dryrun
,並且使用或不使用尾隨斜槓,但沒有更改。
我在OS X上,如果有問題,系統python是版本2.7.5。