Skip to content

Only creates a header row #2

Description

@noelhibbard

I generated two exports with WizTree using the /exportfiles=0 option which tells WizTree to only export dir sizes but when I run these files through WizTreeCompare using the f option it produces a diff with zero records

Am I doing something wrong or does this tool not no how to handle exports that only contain folders? I guess I should do a test without the /exportfiles=0 option.

Activity

  1. noelhibbard commented on Jun 13, 2023

    @noelhibbard
    Author

    Okay, looks like it's the /exportfiles=0 option that causes it not to work. I'm analyzing a large filesystem and was trying to make a smaller snapshot by only including dir sizes and only 6 levels or so deep. I'd love to be able to use this tool that way.

  2. AlphaDelta commented on Jun 14, 2023

    @AlphaDelta
    Owner

    I originally skipped folders for faster processing and smaller file sizes (as WizTree constructs the tree after importing a differential regardless), though you bring a good use case to my attention

    I've made a commit to add an option (D) to include directories in the differential and I've made a release here: https://github.com/AlphaDelta/WizTreeCompare/releases/tag/v0.3.0-rc.2

    With RC.2 you should be able to use f as normal (which will include directories now by implying D), or just D if you only want to consider directory additions.

    Let me know if you run into any bugs or issues with the RC

  3. noelhibbard commented on Jun 14, 2023

    @noelhibbard
    Author

    This works perfect, thanks for the fast response! Now if only WizTree knew how to handle negative Size values. Or maybe I am missing something. I'm new to WizTree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions