Skip to content

Instantly share code, notes, and snippets.

@fivetentaylor
Created June 23, 2015 23:26
Show Gist options
  • Save fivetentaylor/9595d55a434c326bfd16 to your computer and use it in GitHub Desktop.
Save fivetentaylor/9595d55a434c326bfd16 to your computer and use it in GitHub Desktop.
Streaming unzip of s3 resource back into s3
aws s3 cp s3://<bucket_name>/<resource>.gz - | pv | zcat | aws s3 cp - s3://<bucket_name>/<resource>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment