Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Zafer Balkan <[email protected]>
  • Loading branch information
zbalkan committed Feb 1, 2024
1 parent e0bb5d0 commit cda090e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,47 @@ This fork updates the underlying framework to .NET 8.0 and uses NuGet packages r

The output is a single-file JSON export. The JSON export is opinionated and ignores null values to minimize the exported JSON file size.

**N.B.** Thanks to dotnet 8.0, it should run cross-platform. But it has not been tested on Linux and MacOS platforms.

# Usage

## Export JSON

Extract the ntds.dit file from the host and run using the following:

```
ditjson -n path\to\ntds.dit\file
```

This will process only `datatable` and `link_table`.

Once the process has been completed it will have generated two output files in the application directory:

- ntds.json


## Export JSON for specific tables

Extract the ntds.dit file from the host and run using the following:

```
ditjson -n path\to\ntds.dit\file -t datatable
```

This will process only `datatable`.


## Export JSON for *all* tables

Extract the ntds.dit file from the host and run using the following:

```
ditjson -n path\to\ntds.dit\file -t *
```

This will process all tables inside `ntds.dit` file. Beware of the size.


# Dependencies

- [Commandline](https://github.com/commandlineparser/commandline)
Expand Down

0 comments on commit cda090e

Please sign in to comment.