4 ms·
One thing I really appreciate about ncdu, that seems to be missing from its work-alikes (gdu, pdu,etc.), is the option to export scan results to disk & import t
by gmfawcett 5y ago
One thing I really appreciate about ncdu, that seems to be missing from its work-alikes (gdu, pdu,etc.), is the option to export scan results to disk & import them later. Not a feature that helps every day, but extremely handy sometimes.
- rashil2000 5y agogdu added that feature just a couple of releases ago.
- gmfawcett 5y agoWow! you weren't kidding, the feature appears in release 5.3.0 (5 days ago!).
- saagarjha 5y agoSeems like a known limitation that may be addressed at some point: > Exporting an in-memory tree to a file. Ncdu already has export/import options, but exporting requires a separate command invocation - it's not currently possible to write an export while you're in the directory browser. The new data model could support this feature, but I'm still unsure how to make it available in the UI.
- handyman5 5y agoNote that you can import _any_ data that's structured like a nested orderable hierarchy, it doesn't have to be a file that `ncdu` itself created. I've used this functionality to scan and then navigate S3 buckets, Artifactory repositories, and even git branches (where the "size" is the number of commits).