Skip to content

Instantly share code, notes, and snippets.

View bokepa's full-sized avatar

Daniel Hernández bokepa

View GitHub Profile
@bokepa
bokepa / combineS3Files.py
Created November 3, 2018 23:28 — forked from jasonrdsouza/combineS3Files.py
Python script to efficiently concatenate S3 files
'''
This script performs efficient concatenation of files stored in S3. Given a
folder, output location, and optional suffix, all files with the given suffix
will be concatenated into one file stored in the output location.
Concatenation is performed within S3 when possible, falling back to local
operations when necessary.
Run `python combineS3Files.py -h` for more info.
'''