command
module
Version:
v0.0.0-...-e961e8a
Opens a new window with list of versions in this module.
Published: Mar 8, 2023
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
s3vf
A simple command line utility to download the old versions of a file from s3 when the aws console can't help.
Pre-req:
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]
to run from source:
go run s3vf.go <s3_bucket_name> <s3_bucket_region> <object_key>
or
go run s3vf.go
How it works?
- 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
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
internal
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.