Expert Mode Stats In Export
I ran btdu with -x and -o and while running I was able to see the export mode stats just fine, but now when I'm trying to import the stats with -f, I can only see the normal non expert represetive size and not the other sizes, it seems like the expert mode stats are not exported. It also give me an erroer when I try to import with -x. The export is also lacking some other data like when I go into a file file running btdu gives me a list of other paths/files that refrence the same that, this is also missing from the export. I expected export to store and show me all the data that was collected including expert mode data and other path references, the whole reason I made the export was to compare the data that was missing between now and sometime later.
Please expand the export to include all data, if that makes the exports to large maybe have a seperate full export mode that includes everything.
It also give me an erroer when I try to import with -x.
I think that is supposed to be working, what is the error?
The export is also lacking some other data like when I go into a file file running btdu gives me a list of other paths/files that refrence the same that, this is also missing from the export.
Yeah, that part is not included. It would make the export many times bigger.
Please expand the export to include all data, if that makes the exports to large maybe have a seperate full export mode that includes everything.
Yes, we can do that.
It also give me an erroer when I try to import with -x.
I think that is supposed to be working, what is the error?
If I try and combine -f and -x I get:
Fatal error: Conflicting command-line options
Can you try a patch?
diff --git a/source/btdu/main.d b/source/btdu/main.d
index e6501dc..25078c8 100644
--- a/source/btdu/main.d
+++ b/source/btdu/main.d
@@ -106,9 +106,12 @@ Please report defects and enhancement requests to the GitHub issue tracker:
stderr.writeln("Loading results from file...");
importData(path);
}
+ else
+ {
+ .expert = expert;
+ .physical = physical;
+ }
- .expert = expert;
- .physical = physical;
.preferredPaths = prefer.map!parsePathPattern.array;
.ignoredPaths = ignore.map!parsePathPattern.array;
Then just run with -f (without -x)
This is now in 0.6.1.