Usage Instructions

ncdu is a great text-based user interface to manage your stored data.

Prerequisite

Login to your service via SSH. See How to connect to your Ultra.cc slot via SSH.

GB v/s GiB

Usage Guide

List all Directories and Files

ncdu -x ~/
ncdu -x --si ~/
ncdu 1.13 ~ Use the arrow keys to navigate, press ? for help                                                 
--- /home2/ultradocs ------------------------------------------------------------------------------------------    
    5.8 GiB [##########] /Stuff                                                                              
   49.1 MiB [          ] /.apps
   41.5 MiB [          ] /bin
    7.8 MiB [          ] /.local
    4.3 MiB [          ] /downloads
  420.0 KiB [          ] /.config
  164.0 KiB [          ] /.cache
   16.0 KiB [          ] /media
   12.0 KiB [          ] /watch
   12.0 KiB [          ] /www
    8.0 KiB [          ] /.gnupg
    8.0 KiB [          ] /scripts
    8.0 KiB [          ] /.ssh
    4.0 KiB [          ]  .bashrc
    4.0 KiB [          ]  .bash_history
    4.0 KiB [          ]  .profile
    4.0 KiB [          ]  .bash_logout
    4.0 KiB [          ]  .wget-hsts
    4.0 KiB [          ]  .selected_editor
>   0.0   B [          ] /MergerFS

Exclude Certain Directories from the Scan

ncdu -x ~/ --exclude=.config/plex --exclude=.apps/emby --exclude=.apps/jellyfin

Use ncdu to Confirm whether a File is a Hardlink or Not

ncdu-hardlink.png


Revision #4
Created 11 May 2022 13:09:44 by Raikiri
Updated 7 May 2023 07:38:03 by warp