Skip to main content

Duplicate Node Remover: How to Use

  1. Unzip the tool and open the folder.
  2. Open the appsettings.json file and configure the tool as needed.
    1. DbConnectionConfigurationData is the connection string to access the database where the user's data is kept. By default, this is the connection string that points to localhost:5432 with the default username and password. This should be correct for most RPC setups.
    2. AccountID is the account in which the duplicate data needs to be removed.
    3. FirstRootNode and SecondRootNode are optional values. 
      • If both are set to null, then the tool will run from the account's root node and cover their entire structure.
      • If just one of them are set to the ID of a node, then the tool will start at that part of the tree and prune all of its children.
      • If both are set to the ID of a node, then the tool will bring all of the contents of the SecondRootNode into the FirstRootNode, removing duplicates along the way. The second node will still be left in the tree structure, but it will be left empty.
  3. Back up the user's data before running the tool.
  4. Run DuplicateNodeRemover.exe. This might take some considerable time depending on the size of the data to be pruned. Eventually it will report how many nodes are set to be removed, moved, and renamed-then-moved.
  5. If the above values seem correct, confirm the changes. The tool will run for a while longer as it executes all of the changes.
  6. Done!