duf

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2020 License: MIT Imports: 13 Imported by: 0

README

duf

Latest Release Build Status Go ReportCard GoDoc

Disk Usage/Free Utility (currently Linux-only, support for BSDs soon)

duf

Features

  • User-friendly, colorful output
  • Adjusts to your terminal's width
  • Sort the results according to your needs
  • Groups & filters devices
  • Can conveniently output JSON

Installation

Packages & Binaries
From source

Make sure you have a working Go environment (Go 1.11 or higher is required). See the install instructions.

Compiling duf is easy, simply run:

git clone https://github.com/muesli/duf.git
cd duf
go build

Usage

You can simply start duf without any command-line arguments:

duf

If you want to see all devices:

duf -all

You can hide individual tables:

duf -hide-local -hide-network -hide-fuse -hide-special -hide-loopback -hide-binds

Sort the output:

# valid sort-keys are: mountpoint, size, used, avail, usage, type, filesystem
duf -sort size

If you prefer your output as JSON:

duf -json

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL