tchivert b33e5adb5d
build / build (push) Successful in 34s
add TB conversion
2024-08-20 21:00:27 +02:00
2024-08-20 12:53:05 +02:00
2024-08-20 02:09:39 +02:00
2024-08-20 19:41:00 +02:00
2024-08-20 02:09:39 +02:00
2024-08-18 18:59:31 +02:00
2024-08-20 12:39:38 +02:00
2024-08-20 12:39:38 +02:00
2024-08-20 19:49:27 +02:00
2024-08-20 19:41:00 +02:00
2024-08-20 20:32:30 +02:00
2024-08-20 19:41:00 +02:00
2024-08-20 12:49:39 +02:00
2024-08-20 19:41:00 +02:00
2024-08-20 19:41:00 +02:00
2024-08-20 21:00:27 +02:00

rdu - another disk usage utility

rdu screenshot

Installation

rdu has prebuilt binaries for Linux and macOS on amd64 and arm64.

You can install it easily by using these commands:

wget https://git.rznet.fr/tchivert/rdu/releases/download/latest/rdu-<os>-<arch> -O /usr/local/bin/rdu
chmod +x /usr/local/bin/rdu

Exemple for an amd64 linux machine:

wget https://git.rznet.fr/tchivert/rdu/releases/download/latest/rdu-linux-amd64 -O /usr/local/bin/rdu
chmod +x /usr/local/bin/rdu

Usage

Usage: rdu [-h] [-v] [-x] [-n] [-d <size>] [-t <threads>] [-k <top>] <dir>
Options:
  -h  Show this help message
  -v  Verbose
  -x  Scan current filesystem only
  -n  Non-interactive
  -d  Minimum directory size
  -t  Max threads
  -k  Top N results

It can be used interactively (like in the screenshot above), or non-interactively (-n flag) to output a summary of the results.

For example:

$ rdu -x -n /var/www/mirror.rznet.fr
Scanning /var/www/mirror.rznet.fr...

Scanned 30782 items

Directories:

  87.1G  /var/www/mirror.rznet.fr/archlinux/pool/packages
   2.2G  /var/www/mirror.rznet.fr/archlinux/iso/2024.08.01
   2.1G  /var/www/mirror.rznet.fr/archlinux/iso/2024.07.01
   2.1G  /var/www/mirror.rznet.fr/archlinux/iso/2024.06.01
 956.7M  /var/www/mirror.rznet.fr/archlinux/iso/2024.08.01/arch
 952.1M  /var/www/mirror.rznet.fr/archlinux/images/v20240815.255016
 951.7M  /var/www/mirror.rznet.fr/archlinux/images/v20240801.250900
 949.7M  /var/www/mirror.rznet.fr/archlinux/iso/2024.07.01/arch

Files:

   2.8G  dotnet-source-built-artifacts-6.0-6.0.32.sdk132-1-x86_64.pkg.tar.zst
   2.7G  EndeavourOS_Endeavour-2024.06.25.iso
   2.7G  EndeavourOS_Gemini-2024.04.20.iso
   2.6G  intel-oneapi-basekit-2024.1.0.596-3-x86_64.pkg.tar.zst
   2.6G  EndeavourOS_Galileo-Neo-2024.01.25.iso
   2.5G  texlive-doc-2024.2-2-any.pkg.tar.zst
   2.4G  Endeavouros-Galileo-11-2023.iso
   1.9G  EndeavourOS_Cassini_neo_22_12.iso

Extensions:

  87.7G  .zst
  63.8G  .iso
   5.6G  .qcow2
   2.3G  .sfs
 423.8M  .img
  47.5M  .gz
  46.7M  .old
  38.0M  none

Total: 87.1G (30782 items)

Acknowledgements

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Description
another disk usage utility
Readme MIT 169 KiB
v1.5 Latest
2026-02-10 23:46:32 +00:00
Languages
Go 98.1%
Makefile 1.9%