An open API service indexing awesome lists of open source software.

https://github.com/alirezasariri78/diskanalyzer

create diagram based on folder size
https://github.com/alirezasariri78/diskanalyzer

directory disk-analyzer disk-space rust-lang

Last synced: about 1 month ago
JSON representation

create diagram based on folder size

Awesome Lists containing this project

README

        

# DiskAnalyzer

## Description

Check Folder Size And Create Diagram Based On Their Size
And Set Color (Green For Less Then 1 Giga bytes , Yellow For 1 To 10 Giga bytes And Red For More)

![image description](pics/win_tree.png)
![image description](pics/win_table.png)
![image description](pics/pie.png)
## Note:

- Project May Not Work On Some Of System Folders Due To Lack Of Permissions (Access Denied)
- This Project Works On Windows And Linux Only
- Args Are Case-Insensetive

## How To Use :

```

get information about size of folders in each drive

Usage: diska [OPTIONS]

Options:
--depth how many level of inner directories should it scan
--diagram Set Diagram Types : tree , table , media_type
-s, --sort Sort Folders Based On Given Value : size , name

--st Can Use By sort
Sort Folders: Desc or Asc
-p, --path analyze give path (default is current directory)
-h, --help Print help
-V, --version Print version

```

## Exmaple :

```

Pie Chart: Shows Hom Much Space Is Taken By Media Types (Video , Image , Audio,File)
Command Sample:

diska --diagram media_type -d C

Tree Chart : Show Hom Much Space Is Taken By Directories.
Command Sample:

diska --diagram tree -p "C:\" -s size --st asc --depth 3

Above Example Shows A Diagram Of Directories Size And Their Structure From Given Path And In Depth Of 3 (Explore 3 Level Of Inner Directories)
And Also Sorts Folders By Their Size.

```

## How To Install :

```
Download And Install Cargo (Rust Package Manager)
Run Following Command in Terminal
cargo install DiskAnalyzer
```

## ToDO List :

- [x] Add Depth For Folder Crawler
- [x] Add More Diagrams
- [ ] Add Mac Support (Currently It Supports Windows And Linux)
- [x] Implement Sorting
- [ ] Handle Files In Terminal (Add Move , etc)
- [x] List File Types (Audio , Video , etc)