ncdu como alternativa Linux ao WinDirStat
Atualizado em
Nossa avaliação
ncdu is a solid replacement for WinDirStat if you are comfortable using a terminal. It excels at speed and low resource usage, making it ideal for large drives. However, it lacks the visual treemap that many WinDirStat users rely on for quick visual identification of large files. It is best for users who prefer keyboard-driven navigation and do not need to delete files directly from the interface. If visual representation is critical, consider GUI alternatives like Baobab or Dusty, but for pure performance and simplicity, ncdu is the standard choice.
- Licença
- GPL-3.0
- Preço
- Grátis
- Versão mais recente
- 2.11.1
- Avaliação
- —
O que funciona igual
- Interactive tree view for navigating directory structures
- Sorts directories by size to highlight largest consumers
- Fast scanning performance suitable for large partitions
- Open-source software with active maintenance
O que muda
- No visual treemap; ncdu uses a text-based list instead
- Cannot delete or move files directly within the interface
- Lacks grouped statistics by file extension
- Requires a terminal emulator to run
Abrindo seus arquivos do WinDirStat
ncdu does not open WinDirStat files (.txt or .dat). It saves its own scan results in a binary format specific to ncdu. You cannot import existing WinDirStat data into ncdu, nor can you export ncdu results in a format that WinDirStat can read. If you need to share data between the two, you would have to manually copy file paths and sizes, which is not practical.
Trocando o WinDirStat pelo ncdu, passo a passo
- Install ncdu via your package manager (e.g., sudo apt install ncdu).
- Run ncdu on the target directory (e.g., ncdu /).
- Use arrow keys to navigate and press 's' to sort by size.
- Press 'e' to export the current scan to a file for later review.
- Note that you must use standard file management tools to delete identified large files.
Principais recursos do ncdu
- Visualização interativa em árvore dos tamanhos de diretórios
- Ordena diretórios por tamanho por padrão
- Escaneamento rápido com baixo consumo de memória
- Suporta analisar diretórios remotos via SSH
- Pode salvar e carregar resultados de escaneamento para revisão posterior
- Navegação por teclado sem mouse
- Exibe contagem de arquivos e tamanho total por diretório
- Roda em qualquer emulador de terminal padrão
Como instalar o ncdu no Linux
sudo apt install ncdusudo apt install ncdusudo dnf install ncdusudo pacman -S ncdusudo zypper install ncduPerguntas frequentes
Can I delete files directly in ncdu?
No, ncdu is read-only. You must identify the file in ncdu and then delete it using a file manager or command-line tools like rm.
Is ncdu faster than WinDirStat?
Generally, yes. ncdu is designed for low memory footprint and fast scanning, often outperforming GUI tools on large datasets.
Does ncdu work over SSH?
Yes, ncdu can analyze remote directories via SSH, which is a feature WinDirStat does not have natively.