Giter VIP home page Giter VIP logo

diskwiz's Introduction

diskwiz : Master Your Disk Space with Ease

diskwiz is a command-line disk space analyzer tool that helps you understand the space usage of directories on your system.

Features

  • Directory Analysis: Analyze disk space usage in a specified directory.

  • Sorting Options: Sort results by size, date, or alphabetical order.

  • Color-Coded Output: Visually appealing and informative output. The colours shows the percentage of space taken by the file in that directory.

  • File and Subdirectory Separation: Results are intelligently separated, presenting a clear distinction between files and subdirectories for a well-organized overview.

diskwiz_res

Installation

Prerequisites:

Visual C++ Redistributable Package: Ensure you have the appropriate version installed for your system.diskwiz requires the Visual C++ Redistributable for Visual Studio 2015-2022. Download and install it from here.

Steps:

  • Download the latest release: Visit the Releases page and download the diskwiz.exe file for your operating system.

Now you can use the cli by visiting the directory containing diskwiz.exe or you can follow the two option to access it from any directory.

  • Option 1: Add to PATH:
    • Copy diskwiz.exe to a directory included in your PATH environment variable (e.g., C:\Windows\System32).
  • Option 2: Create a custom directory:
    • Create a dedicated directory for DiskWiz (e.g., C:\DiskWiz).
    • Add this directory to your PATH manually

Usage

Once you have installed the CLI, you can use its set of commands and flags to analyze the directory and monitor the disk usage.

For the commands and flags to work, they must follow this syntax:

diskwiz {COMMAND} {FLAGS}
  • {COMMAND} specifies the operation you want to perform.

  • {FLAGS} specifies optional flags you can use to enrich your command.

    Basic Usage:

    • Open a command prompt or terminal.

    • Navigate to the directory containing diskwiz.exe:

    • Use the cd command (e.g., cd C:\DiskWiz). (if path of the diskwiz.exe is not in the environment variables)

    • Run DiskWiz commands:

    • Type diskwiz followed by the desired command and options.

    Common Commands:

    • diskwiz analyze <drive_letter>: Analyze disk space usage on the specified drive.

    • diskwiz analyze: Analyze the directory currently opened in the terminal.

    • diskwiz analyze -s <drive_letter>: Analyze and sort the result according to the size.

    • diskwiz analyze -d <drive_letter>: Analyze and sort the result according to the last date modified.

    • diskwiz analyze -n <drive_letter>: Analyze and sort the result according to the name.

    • diskwiz -v: To get the version of the cli.

    <drive_letter> paste the path of directory under double quotes "" here

    for eg:

    diskwiz analyze -s "C:\path\of\directory"
    
    diskwiz -v

    For a complete list of commands and options, run diskwiz help.

Development

Build from Sources

Alternatively, you can also build the Kyma CLI from the sources:

  1. To clone the Kyma CLI repository, run:
git clone https://github.com/simple40/diskwiz.git
  1. Enter the root folder of the cloned repository and open the diskwiz.sln solution file. (ensure you have a compatible version installed, e.g., Visual Studio 2019 or later).

  2. Configure the build settings and build the solution.

  3. After a successful build, find the compiled binaries in the x64/Debug or x64/Release directory within the project folder.

  • To run DiskWiz from any directory, add the path to the directory containing diskwiz.exe to your system's PATH environment variable.

Download

Downloads are available from the releases page.

Licensing

diskwiz's People

Contributors

simple40 avatar

Stargazers

 avatar Naman Dhiman avatar Arjun Sharma avatar Himanshu Choudhary avatar Mehul Raj avatar Shikhar Kothari avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.