GithubHelp home page GithubHelp logo

gncdu's Introduction

gncdu

gncdu implements NCurses Disk Usage(ncdu) with golang, and is at leaset twice faster as ncdu.

Install

Binaries

macOS (Apple Silicon)

wget -O https://github.com/bastengao/gncdu/releases/download/v0.7.0/gncdu-darwin-arm64 && chmod +x /usr/local/bin/gncdu

Linux (amd64)

wget -O /usr/local/bin/gncdu https://github.com/bastengao/gncdu/releases/download/v0.7.0/gncdu-linux-amd64 && chmod +x /usr/local/bin/gncdu

Or download executable file from releases page.

Install from source

go install github.com/bastengao/gncdu@latest

Usage

gncdu [path]

screenshot

gncdu's People

Contributors

bastengao avatar rozer821 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gncdu's Issues

selection resets

After pressing D, then ESC currently selected file got unselected. And first file in the directory get selected.

Exiting directory selects first file in the list, but it suppose to select folder I exits. (very hard to navigate inside large directories with 100 of files)

not showing read errors

gncdu not showing read errors while scanning folders with no permissions to read.

Easy to misjudge folder size not knowing here is read errors while scanning folders.

Scan time is not accurate

time.Tick doesn't guarantee it can generate ticks accurately.

On my machine, gncdu says 30s on the scan dialog but it actually already elapsed 45s according to my watch.

Feature reuqest: Frame borders

Most ncurser apps showing frame borders:

  • ncdu
  • nnn
  • mc

gncdu showing no borders, no padding bettwen terminal window and first symbols (hard to see "." dot files)

scanning progress

Scanning big HDD can be slow. Showing progress with current size, file count, current file/folder and read errros would be very helpfull.

q for quit

most ncusers apps allow to quit by pressing 'q'

feature request: background deletion

Hello!

Can you support for background deletion? HDD works slowly, I'd like to delete big folders in background while keep navigating trougth files tree and delete more folders.

Thanks!

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.