Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

akrennmair/ncdu-s3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ncdu-s3

ncdu-s3 records file sizes of S3 buckets to be used with ncdu.

Installation and Usage

$ go get github.com/akrennmair/ncdu-s3
$ ncdu-s3 s3://bucket-name/path-prefix/ output.json
$ ncdu -f output.json

Configuration

By default, ncdu-s3 will use your default AWS credential configuration in ~/.aws. You can override this by setting the environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY with the appropriate credentials. If you have multiple profiles configured in your ~/.aws, you can also use an alternative profile by setting the AWS_PROFILE environment variable. Most likely, you will also have to set the AWS_REGION environment variable.

License

See the file LICENSE.md for the license.

Author

Andreas Krennmair ak@synflood.at

About

ncdu-s3 records file sizes of S3 buckets to be used with ncdu

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages