ncdus3
v0.1.2
Published
a tool to scan s3 and generate ncdu feed file
Downloads
7
Readme
ncdus3
Inspired by ncdu-s3, and generate smaller ncdu feed by default.
Install
# nodejs v10+ is required
npm i -g ncdus3
To view the output json file, you also need to install ncdu.
Usage
# first, make sure you can access s3 in your terminal environment.
# then run this tool
ncdus3 <s3location> <outputfile>
# example:
ncdus3 s3://mybucket/some/path output.json
# by default, ncdus3 will combine files to generate smaller feed
# you can also turn it off
ncdus3 s3://mybucket/some/path output.json --no-combine
# once it is done, view the result with ncdu
ncdu -f output.json
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D