Skip to content

seligman/dir_sizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dir Sizer

dir_sizer is a utility to visualize the size of a directory, or a directory like thing. Right now it produces webpages that look like this:

Showing the relative size of folders, making it easy to see what areas of a folder are using the most space.

It supports scanning and producing reports for AWS S3 Buckets, directories in the local file system, and directories in a remote machine via SSH. In the future it will add support for other sources, including Google Storage Bucket, Azure Blobs, and perhaps others.

To run it, right now you'll need a recent version of Python installed, along with optionally the boto3 package available for S3, google-cloud-storage for Google Cloud storage, and paramiko for SSH. Then you can run a command like:

python dir_sizer.py --s3 --bucket example-bucket --output example.html

Which will produce a file called "example.html" showing details of the "example-bucket" AWS S3 Bucket.

You can track the current outstanding work items. Questions? Feedback? E-mail me.

About

Visualize size of directories, AWS S3 buckets.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published