Simon Hill - 2011-01-12

Does anybody know if its possible to exclude directories with s3cmd sync.
I want to sync a directory but exclude a couple of sub-directories. I've tried the following but none seem to work

s3cmd sync -dry-run -verbose -encoding UTF-8 -exclude "/webroot/admin/" /webroot/*
s3cmd sync -dry-run -verbose -encoding UTF-8 -exclude "/webroot/admin/*" /webroot/*
s3cmd sync -dry-run -verbose -encoding UTF-8 -exclude "/webroot/admin" /webroot/*