def sync_s3(self):
        bucket, key = self.open_s3()
        for directory in self.DIRECTORIES:
            os.path.walk(directory, self.upload_s3, (bucket, key, self.AWS_BUCKET_NAME, directory))
Walks the media/static directories and syncs files to S3
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/django-extensions-1.5.0/django_extensions/management/commands/sync_s3.py/Command.sync_s3