Skip to content

alirezasariri78/DiskAnalyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 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 , media_type
  -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


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 :

  • 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)

Releases

No releases published

Packages

No packages published

Languages