xdu, alternative Linux à TreeSize Free
Mis à jour le
Notre avis
xdu is a solid replacement for TreeSize Free if you're comfortable with the terminal and don't need a GUI. It delivers fast, hierarchical disk usage analysis with human-readable output and supports filtering by depth and symbolic links. While it lacks export formats like CSV or HTML, its output can be redirected or piped for scripting. Users who rely on visual tree maps or point-and-click navigation will need to adjust, but for quick, automated, or remote system checks, xdu performs the core job well.
- Licence
- GPL-3.0
- Prix
- Gratuit
- Dernière version
- 3.0
- Note
- —
Ce qui fonctionne pareil
- Both scan local file systems and show disk usage in a tree hierarchy
- Support filtering by directory depth
- Display sizes in human-readable units (KB, MB, GB)
- Handle symbolic links correctly during scans
- Allow output to be sorted by size
Ce qui change
- xdu is command-line only; no GUI like TreeSize Free
- No built-in export to CSV, HTML, or XML formats
- Cannot open or import TreeSize Free saved scan files
- Lacks real-time updating and column-based filtering in interface
- No built-in duplicate file detection or permissions view
Ouvrir vos fichiers TreeSize Free
xdu cannot open or import files saved by TreeSize Free. TreeSize Free uses its own binary or XML format for saved scans, which xdu does not support. There is no direct file compatibility between the two tools. However, you can redirect xdu's text output to a file using shell redirection (e.g., xdu /path > report.txt), which allows basic sharing and scripting but lacks structured formatting like CSV or HTML.
Passer de TreeSize Free à xdu, étape par étape
- Install xdu using your package manager:
sudo apt install xduon Debian/Ubuntu - Run
xdu /your/pathto scan a directory, replacing/your/pathwith the target folder - Use
--depth Nto limit how many levels deep xdu scans - Redirect output to a file with
xdu /path > report.txtfor sharing or logging - Pipe xdu output to tools like
less,grep, orsortfor filtering and analysis - Replace TreeSize Free scheduled scans with a cron job running xdu
Fonctionnalités clés de xdu
- Scan rapide en un seul processus
- Sortie structurée en arbre
- Unités de taille lisibles par l’homme
- Limite de profondeur optionnelle
- Prise en charge des liens symboliques
- Peut être redirigé vers d’autres outils
Installer xdu sous Linux
sudo apt install xdusudo apt install xduQuestions fréquentes
Can xdu show the largest directories at the top?
Yes, pipe xdu output to sort: xdu /path | sort -k1 -hr to sort by size descending.
Is xdu available on non-Debian systems?
It's packaged in Debian and Ubuntu; other distributions may require building from source.
Does xdu work over SSH on remote servers?
Yes, xdu runs in the terminal and is ideal for remote use via SSH, often more efficiently than GUI tools.