mcpField
N
ncdu

ncdu

公式
github.com開発ツール743ncdu328 週間前に更新
リポジトリ公式サイト

ncdu について

ncdu はディスク使用量をスキャンし、対話的なターミナルインターフェースを提供します。ディレクトリツリーを参照して、最もスペースを占有するファイルとフォルダを素早く特定できます。

主な機能

  1. 01ディスク使用量を表示したディレクトリツリーを対話的に参照
  2. 02指定ディレクトリの高速スキャン
  3. 03大ファイルと高占有フォルダを発見するための並び替えとフィルタリング

活用シーン

  1. 01満杯のディスク領域を診断しクリーンアップ
  2. 02プロジェクトやシステム内のスペース浪費を検出
  3. 03ストレージを定期監査して削除可能なファイルを識別

インストール

OS またはパッケージマネージャーを選び、コマンドをターミナルで実行します。

$
brew install ncdu

インストール後にncdu --versionを実行して確認します。

コマンド例

よく使うコマンドを使う順に並べています。

01
ncdu
02
ncdu /var

README(原文)English

プロジェクトの README より

この README の日本語訳はまだありません。以下は英語の原文です。日本語の紹介はページ上部をご覧ください。

ncdu 1.15.1
===========

DESCRIPTION

  ncdu (NCurses Disk Usage) is a curses-based version of
  the well-known 'du', and provides a fast way to see what
  directories are using your disk space.


REQUIREMENTS

  In order to compile and install ncdu, you need to have
  at least...

  - a POSIX-compliant operating system (Linux, BSD, etc)
  - curses libraries and header files


INSTALL

  The usual:

    ./configure --prefix=/usr
    make
    make install

  If you're building directly from the git repository, make sure you have perl
  (or rather, pod2man), pkg-config and GNU autoconf/automake installed, then
  run 'autoreconf -i', and you're ready to continue with the usual ./configure
  and make route.


COPYING

  Copyright (c) 2007-2020 Yoran Heling

  Permission is hereby granted, free of charge, to any person obtaining
  a copy of this software and associated documentation files (the
  "Software"), to deal in the Software without restriction, including
  without limitation the rights to use, copy, modify, merge, publish,
  distribute, sublicense, and/or sell copies of the Software, and to
  permit persons to whom the Software is furnished to do so, subject to
  the following conditions:

  The above copyright notice and this permission notice shall be included
  in all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

コメント