xdu als Linux-Alternative zu TreeSize Free
Aktualisiert am
Unser Fazit
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.
- Lizenz
- GPL-3.0
- Preis
- Kostenlos
- Aktuelle Version
- 3.0
- Bewertung
- —
Was gleich funktioniert
- 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
Was anders ist
- 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
Ihre TreeSize Free-Dateien öffnen
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.
Von TreeSize Free zu xdu wechseln – Schritt für Schritt
- 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
Wichtige Funktionen von xdu
- Schnelles, einzelprozessbasiertes Scannen
- Baumstrukturierte Ausgabe
- Menschlich lesbare Größeneinheiten
- Optionale Tiefenbegrenzung
- Unterstützt symbolische Links
- Kann an andere Tools weitergeleitet werden
xdu unter Linux installieren
sudo apt install xdusudo apt install xduHäufige Fragen
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.