Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Feb 18, 2014
  1. set content-type, content-charset, and not content-encoding

    Patches originally by adoliver, rebased for current master branch.
    Content-Encoding should only be set by the HTTP server, not by us.
Commits on Feb 14, 2014
  1. Merge pull request #92 from ksauzz/support-get-operation-to-multibyte…

    support multibyte key name on getting object operation.
  2. @ksauzz
  3. _download: handle S3Error

    If we get an S3Error here (i.e. HTTP 404 Not Found), warn and continue
    rather than crashing.  This can happen if the file is removed from S3
    async to us running, after having retrieved the directory listing from S3.
  4. _download: Exception != OSError

    Cut-and-paste context error.  Here we specifically want OSError to
    dereference e.errno.  If we get a different type of error, we should
    raise that separately until we know how to deal with it.
    I did see one example of an S3Error getting raised here, syncing down
    a bucket that has versioning enabled but one file deleted.  We have to
    first fix this error to debug the next error.
Commits on Feb 10, 2014
  1. handle empty directory on S3 sync remote2local

    We have to recognize when it's an empty directory (the filename ends
    in a trailing /) and treat it specially.
  2. report LANG= environment variable on crash

    With so many unicode errors happening, at least capture
    what LANG is.
Commits on Feb 7, 2014
  1. add s3cmd.spec to .gitignore

Commits on Feb 6, 2014
  1. remove useless import of S3.Exceptions

    Noted in bug #227
Commits on Feb 3, 2014
  1. add 'make tarball' and 'make rpm' to Makefile

    Fixes #192.
    Spec copied from Fedora/EPEL infrastructure packaging.
Commits on Feb 1, 2014
  1. @o172

    Use stat() to get the stat record for the target of a symlink, not of

    o172 authored committed
    the link itself (which lstat() does).
    A check for the case where a file is symlink and the follow-symlink
    option is not set has already been made a few lines above, so this
    should be safe I think.
Commits on Jan 28, 2014
  1. @flebel
Commits on Jan 20, 2014
Commits on Jan 10, 2014
  1. --no-check-md5 should disable md5sum calculation, including preserved…

    … attributes
    Fixes s3tools#217
    --no-check-md5 removes 'md5' from the cfg.sync_checks list.  It does
    not remove it from the cfg.preserve_attrs_list list.  Therefore each
    file's md5sum is calculated when generating the preserved attribute
    header (which also includes username, groupname, size, obtained from
    stat(), ...).  The default for both sync and put is --preserve.
    Therefore, to disable md5 generation completely, one needs to also use
    Another option would be to have --no-check-md5 also remove 'md5' from
    cfg.preserve_attrs_list.  I had added 'md5' to the
    cfg.preserve_attrs_list list in June 2012 (1.5.0-alpha time period)
    when I added hardlink detection, so it's a relatively new change that
    is causing md5sums to be calculated by default.  This patch implements
    this, --no-check-md5 now removes 'md5' from cfg.preserve_attrs_list.
Commits on Jan 9, 2014
  1. handle OSError: No such file or directory in get_local_filelist

    reported to s3tools-bugs by John R. Moser 2013-01-09.
Commits on Jan 7, 2014
  1. fix divide-by-zero when no files were transferred

    Repored by Jason Woodall to s3tools-bugs 2014-01-06.
Commits on Jan 4, 2014
Commits on Dec 30, 2013
  1. @robd003

    Less verbose

    robd003 authored
  2. @robd003

    Added support for restoring files from Glacier storage.

    robd003 authored
    Includes recursive option.
Commits on Dec 17, 2013
  1. Merge pull request #259 from 36degrees/patch-1

    Fix a spelling mistake (conect => connect)
  2. @36degrees
Something went wrong with that request. Please try again.