#size #disk #hard-drive #rust-disk-analyze

app DiskAnalyzer

make diagram base on system folder size

8 releases (2 stable)

1.0.1 May 16, 2024
1.0.0 May 3, 2024
0.2.2 Apr 24, 2024
0.1.2 Apr 23, 2024

#119 in Filesystem

Download history 278/week @ 2024-04-19 60/week @ 2024-04-26 122/week @ 2024-05-03 103/week @ 2024-05-10 46/week @ 2024-05-17 4/week @ 2024-05-24

406 downloads per month

MIT/Apache

140KB
853 lines

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 image description

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 <depth>      how many level of inner directories should it scan
      --diagram <diagram>  Set Diagram Types : tree , table
  -s, --sort <sort>        Sort Folders Based On Given Value : size , name

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


How To Install :

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

ToDO List :

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

Dependencies

~3–10MB
~81K SLoC