0
0
mirror of https://github.com/TeFiLeDo/tree-owners.git synced 2024-12-29 21:36:53 +01:00
Find all owners (user and group) inside a directory tree.
Go to file
2023-09-24 12:23:20 +02:00
.github/workflows add cli completion generation to test build 2023-09-24 12:20:43 +02:00
src fix cli completion generation 2023-09-24 12:23:20 +02:00
.gitignore initial implementation 2023-09-24 05:38:22 +02:00
build.rs fix cli completion generation 2023-09-24 12:23:20 +02:00
Cargo.lock fix cli completion generation 2023-09-24 12:23:20 +02:00
Cargo.toml fix cli completion generation 2023-09-24 12:23:20 +02:00
LICENSE add license and prepare for publishing 2023-09-24 06:23:20 +02:00
README.md add license and prepare for publishing 2023-09-24 06:23:20 +02:00

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

groups:
    users

Using uids and gids:

$ tree-owners --raw .
users:
    1000

groups:
    985

Using json output:

$ tree-owners --json .
{
  "users": [
    "adrian"
  ],
  "groups": [
    "users"
  ]
}