0
0
mirror of https://github.com/TeFiLeDo/tree-owners.git synced 2024-11-21 20:06:17 +01:00
tree-owners/README.md
Adrian Wannenmacher 13ad1878df
update README.md
It now displays the actual output. This is not a change in the programs
behaviour. The README.md was incorrect since version 0.2 .
2023-11-17 07:16:19 +01:00

669 B

tree-owners

Find all owners (user and group) inside a directory tree.

© Adrian Wannenmacher - Licensed under the EUPL

Usage

To see available options run: tree-owners --help

Basic example when running in this repository:

$ tree-owners
users:
    adrian (1000)

groups:
    users (985)

Using uids and gids:

$ tree-owners --raw
users:
    1000

groups:
    985

Using json output:

$ tree-owners --json
{
  "users": {
    "1000": "adrian"
  },
  "groups": {
    "985": "users"
  }
}

Combining json and uid/gid:

$ tree-owners --raw --json
{
  "users": {
    "1000": null
  },
  "groups": {
    "985": "users"
  }
}