<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ncdu on Janik von Rotz</title>
    <link>https://janikvonrotz.ch/tags/ncdu/</link>
    <description>Recent content in Ncdu on Janik von Rotz</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Mon, 29 Jun 2026 17:24:56 +0200</lastBuildDate>
    <atom:link href="https://janikvonrotz.ch/tags/ncdu/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>NCurses Disk Usage</title>
      <link>https://janikvonrotz.ch/2026/06/29/ncurses-disk-usage/</link>
      <pubDate>Mon, 29 Jun 2026 17:24:56 +0200</pubDate>
      <guid>https://janikvonrotz.ch/2026/06/29/ncurses-disk-usage/</guid>
      <description>&lt;p&gt;The &lt;code&gt;ncdu&lt;/code&gt; command line utility is the perfect tool to analyse your disk usage. Here is a short introduction.&lt;/p&gt;&#xA;&lt;p&gt;Open a shell, navigate into a directory and the enter &lt;code&gt;ncdu&lt;/code&gt;. The program starts scanning the folder and subs folders. Depending on the depth of folder and file count this may take a while.&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;  ┌── Scanning... ───────────────────────────────────────────────────────────────────────────┐&#xA;  │                                                                                          │&#xA;  │ Total items: 2,294,498      size: 120.3 GiB                                              │&#xA;  │   /home/janikvonrotz/.npm/_cacache/index-v5/fe/b0                                        │&#xA;  │                                                                                          │&#xA;  │                                                                                          │&#xA;  │                                                                                          │&#xA;  │ Scanning.                                                               Press q to abort │&#xA;  └──────────────────────────────────────────────────────────────────────────────────────────┘&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Once finished it presents you a list of file in the current folder.&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;--- /home/janikvonrotz --------------------------------------------------------------------------&#xA;   32.4 GiB S 107.9 MiB [#############] /.local&#xA;   29.9 GiB S   2.8 GiB [###########  ] /.cache&#xA;   24.7 GiB S   2.3 GiB [#########    ] /Odoo-Build&#xA;   10.0 GiB             [####         ] /Odoo-CD&#xA;    5.9 GiB             [##           ] /janikv.cloud&#xA;    3.7 GiB             [#            ] /.thunderbird&#xA;    2.7 GiB S   5.6 MiB [#            ] /.config&#xA;    2.1 GiB             [             ] /.var&#xA;    1.6 GiB             [             ] /.librewolf&#xA;    1.4 GiB             [             ] /janikvonrotz.ch&#xA;    1.3 GiB S 553.4 MiB [             ] /Ansible-Build&#xA;    1.3 GiB             [             ] /.npm&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Use vi keybindings to navigate. With &lt;code&gt;j&lt;/code&gt; and &lt;code&gt;k&lt;/code&gt; you move up and down the list. With &lt;code&gt;h&lt;/code&gt; and &lt;code&gt;l&lt;/code&gt; you navigate into the folder and up the parent folder.&lt;/p&gt;&#xA;&lt;p&gt;Once you identified a file that can be deleted hit &lt;code&gt;d&lt;/code&gt;. Then confirm the deletion.&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;--- /home/janikvonrotz/.local/share/Trash/files -------------------------------------------------&#xA;                            /..&#xA;    2.7 GiB [#####┌── Confirm delete ────────────────────────────────────────┐&#xA;    2.6 GiB [#####│ Are you sure you want to delete &amp;#34;wp-content.zip&amp;#34;?        │&#xA;  749.8 MiB [##   │                                                          │&#xA;  700.2 MiB [#    │                                                          │&#xA;  700.2 MiB [#    │              yes       no    don&amp;#39;t ask me again          │&#xA;  352.1 MiB [     └──────────────────────────────────────────────────────────┘&#xA;  352.1 MiB [             ] /download&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;If you want to learn more about a file press &lt;code&gt;i&lt;/code&gt; and with &lt;code&gt;b&lt;/code&gt; you can spawn a shell in the current directory.&lt;/p&gt;&#xA;&lt;p&gt;I think that is all you need to know.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
