A simple command line utility to download the old versions of a file from s3 when the aws console can't help.
Env Vars:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_SESSION_TOKEN
- S3_BUCKET_NAME [optional]
- S3_BUCKET_REGION [optional]
- S3_OBJECT_KEY [optional]
- INDENT_JSON [optional; example: true]
go run s3vf.go <s3_bucket_name> <s3_bucket_region> <object_key>
or
go run s3vf.go
- Set the Variables and run
- Enter the Date and Time Range and the versions within that time will be downloaded to ./downloads
- Files will be named: [version-last-modified-time] - [version-id].extension
- Uses Local Time
- Option to have the JSON file Indented