https://github.com/mdomsch/s3cmd/tree/bug/exitcodes
has a stab at adding proper exit codes to s3cmd.   This attempts to address bug #19, #65, and #219 from a systematic POV.

If you hate using s3cmd because is almost always returned exit code 0 regardless, please take a look at this (short) branch and comment.

Thanks,
Matt